zed/crates/gpui2
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
..
src Add Sized bound to StyleHelpers (#3042) 2023-09-26 18:15:41 -04:00
Cargo.toml Add support for fetching/rendering images 2023-09-06 17:13:43 -06:00