SetterValue
enum · ferroui-base · v0.5.0
enum SetterValue
The value of a Setter.
Members
Value
Value(crate::BoxedValue)
A plain value, which must hold exactly the value type of the setter's property.
Binding
Binding(std::rc::Rc<dyn IObservable<crate::BoxedValue>>)
A source of values: the setter binds the property to it on every control the style is applied to.
This is the seam for binding descriptions: a binding class will create its per-control source where this variant uses the same observable for every control.
BindingBase
BindingBase(std::rc::Rc<dyn BindingBase>)
A binding description: the setter instantiates the binding on every control the style is applied to.
Template
Template(std::rc::Rc<dyn ITemplate>)
A template: the setter sets the property to the object the template builds, building it lazily once per control.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.