ResourceSetterViewModel
struct · ferroui-diagnostics · v0.5.0
struct ResourceSetterViewModel
A setter whose value is a resource: the key of the resource and the value it has for the control, with a tint and a tooltip that tell a dynamic resource from a static one.
Members
new
fn new(property: &'static FerroProperty, resource_key: BoxedValue, resource_value: Option<BoxedValue>, is_dynamic: bool, clipboard: Option<Rc<dyn IClipboard>>) -> Rc<Self>
key
fn key(self: &Self) -> BoxedValue
tint
fn tint(self: &Self) -> Rc<dyn IBrush>
value_type_tooltip
fn value_type_tooltip(self: &Self) -> String
copy_value
fn copy_value(self: &Self)
The CopyValue of the base class (this class does not override it).
copy_resource_key
fn copy_resource_key(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelPartialEqDerefINotifyPropertyChangedMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.