BindingSetterViewModel
struct · ferroui-diagnostics · v0.5.0
struct BindingSetterViewModel
A setter whose value is a binding: the path of the binding, with a tint and a tooltip that tell the kind of binding.
Members
new
fn new(property: &'static FerroProperty, value: Option<BoxedValue>, clipboard: Option<Rc<dyn IClipboard>>) -> Rc<Self>
Panics
When value is not a binding of one of the three kinds (ArgumentException: "Invalid
binding type").
tint
fn tint(self: &Self) -> Rc<dyn IBrush>
value_type_tooltip
fn value_type_tooltip(self: &Self) -> String
path
fn path(self: &Self) -> String
copy_value
fn copy_value(self: &Self)
The override of CopyValue: copies the path of the binding.
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.