FerroPropertyAccessor
struct · ferroui-base · v0.5.0
struct FerroPropertyAccessor
The accessor of a registered property of an object of the class hierarchy: reads and writes the property and follows its changes.
Members
new
fn new(reference: Option<WeakRef<FerroObject>>, property: &'static FerroProperty) -> Rc<dyn IPropertyAccessor>
Creates an accessor for property of the object behind
reference. None is a reference without a target (the weak
reference to null of the managed original): such an accessor has no
value.
instance
fn instance(self: &Self) -> Option<Ref<FerroObject>>
The object the accessor reads from, if it is still alive.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherIDisposableIPropertyAccessorDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.