SetterViewModelRef
enum · ferroui-diagnostics · v0.5.0
enum SetterViewModelRef
The shared handle of a setter view model of any of the classes SetterViewModel,
BindingSetterViewModel and ResourceSetterViewModel: a reference typed with the base
class. It dereferences to the base class and dispatches the virtual member.
Members
Setter
Setter(std::rc::Rc<SetterViewModel>)
Binding
Binding(std::rc::Rc<super::BindingSetterViewModel>)
Resource
Resource(std::rc::Rc<super::ResourceSetterViewModel>)
copy_value
fn copy_value(self: &Self)
The virtual CopyValue.
boxed
fn boxed(self: &Self) -> BoxedValue
The setter as an untyped value of its class (what a list of the setters holds for the data templates that choose by the class).
from_boxed
fn from_boxed(value: &BoxedValue) -> Option<Self>
The setter of an untyped value of one of the classes (DataContext as SetterViewModel).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelClonePartialEqDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.