VisualLocator
struct · ferroui-base · v0.5.0
struct VisualLocator
Tracks an ancestor of a visual in the visual tree.
Members
track
fn track(relative_to: &Visual, ancestor_level: usize, ancestor_type: Option<&'static TypeInfo>) -> Rc<dyn IObservable<Option<Ref<Visual>>>>
An observable of the ancestor at ancestor_level (counting only
ancestors of ancestor_type, when given) of relative_to, or None
while relative_to is not attached to a visual tree. It publishes
the ancestor again whenever relative_to is attached or detached.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.