pub struct StyleFrame {
pub kind: String,
pub selector: Option<String>,
pub active: bool,
pub priority: String,
pub setters: Vec<(String, Option<BoxedValue>)>,
}Expand description
A frame of the value store that applies to an object: a style, a control theme, a template or the local values.
Fields§
§kind: String§selector: Option<String>The selector of a style, or Theme <type> of a control theme.
active: bool§priority: String§setters: Vec<(String, Option<BoxedValue>)>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StyleFrame
impl !Send for StyleFrame
impl !Sync for StyleFrame
impl !UnwindSafe for StyleFrame
impl Freeze for StyleFrame
impl Unpin for StyleFrame
impl UnsafeUnpin for StyleFrame
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more