pub struct StyleInstance { /* private fields */ }Expand description
Stores state for a style that has been instanced on a control.
A style instance is created when a style is applied to a control. It is responsible for tracking the setter instances of the style and its activator, and is the value frame that holds the style’s values in the control’s value store. A style without an activator whose setters are all plain values has a single instance, shared by every control it applies to.
Implementations§
Source§impl StyleInstance
impl StyleInstance
Sourcepub fn priority(&self) -> BindingPriority
pub fn priority(&self) -> BindingPriority
The priority of the values of the style instance.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StyleInstance
impl !RefUnwindSafe for StyleInstance
impl !Send for StyleInstance
impl !Sync for StyleInstance
impl !UnwindSafe for StyleInstance
impl Unpin for StyleInstance
impl UnsafeUnpin for StyleInstance
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