zed/crates/gpui2/src
Marshall Bowers 568fec0f54
Add Sized bound to StyleHelpers (#3042)
This PR adds a `Sized` bound to the `StyleHelpers` trait.

All of the individual methods on this trait already had a `Self: Sized`
bound, so moving it up to the trait level will make it so we don't have
to repeat ourselves so much.

There's an open question of whether we can hoist the `Sized` bound to
`Styleable`, but it's possible there are cases where we'd want to have a
`Styleable` trait object.

Release Notes:

- N/A
2023-09-26 18:15:41 -04:00
..
elements Checkpoint 2023-09-15 11:41:21 -04:00
adapter.rs Eliminate PaintContext 2023-09-11 09:00:59 -06:00
color.rs
element.rs Add Element::when method 2023-09-18 20:25:12 -06:00
elements.rs Add support for fetching/rendering images 2023-09-06 17:13:43 -06:00
gpui2.rs Eliminate PaintContext 2023-09-11 09:00:59 -06:00
interactive.rs Eliminate PaintContext 2023-09-11 09:00:59 -06:00
style.rs Add Sized bound to StyleHelpers (#3042) 2023-09-26 18:15:41 -04:00
view.rs
view_context.rs Eliminate PaintContext 2023-09-11 09:00:59 -06:00