pub struct Resolved {
pub name: String,
pub base: Vec<StyleEffect>,
pub states: Vec<(StyleState, Vec<StyleEffect>)>,
pub settle: Option<String>,
}Expand description
A control kind and variant’s style on one platform: the rules for the kind, then those for the variant, merged in declaration order.
Fields§
§name: StringName in the generated BernStyles, such as buttonHero.
base: Vec<StyleEffect>§states: Vec<(StyleState, Vec<StyleEffect>)>§settle: Option<String>Implementations§
Source§impl Resolved
impl Resolved
Sourcepub fn draws_look(&self) -> bool
pub fn draws_look(&self) -> bool
Whether the style draws the control instead of keeping its look.
pub fn size(&self) -> Option<ControlSize>
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more