PseudoClassViewModel
struct · ferroui-diagnostics · v0.5.0
struct PseudoClassViewModel
A pseudo-class a control declares, with whether it is set on the control. Setting
is_active sets or clears the pseudo-class on the control.
Members
new
fn new(name: &str, source: &StyledElement) -> Rc<Self>
name
fn name(self: &Self) -> String
is_active
fn is_active(self: &Self) -> bool
set_is_active
fn set_is_active(self: &Self, value: bool)
update
fn update(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelPartialEqINotifyPropertyChangedMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.