PropertyOwner
struct · ferroui-system · v0.5.0
struct PropertyOwner
The object that owns the property of one step of a path, as an observer chosen at run time
sees it (the sender of upstream's ICreatesObservableForProperty).
object is the object itself, which an observer downcasts to the types it knows; notify is
its change notification, when it raises PropertyChanged. A step that cannot give its object
(a PropertyPath::value step, or an optional_property
step whose object is None) leaves both None.
Members
object
object: Option<std::rc::Rc<dyn Any>>
The object that owns the property.
notify
notify: Option<std::rc::Rc<dyn INotifyPropertyChanged>>
The change notification of the object, when it raises PropertyChanged.
same_object
fn same_object(self: &Self, other: &PropertyOwner) -> bool
Whether the two owners are the same object (reference equality, as .NET compares senders).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDefaultDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.