#[derive(Styled)]
{
// Attributes available to this derive:
#[style]
}
Expand description
Derives gpui::Styled for a struct with a #[style] field.
The field must have the type gpui::StyleRefinement. The derived style
method returns that field, so the builder methods such as flex and gap
write to it. Mark at most one field.