NameScopeLocator
struct · ferroui-base · v0.5.0
struct NameScopeLocator
Tracks a named element in a name scope.
Members
track
fn track(scope: &NameScopeRef, name: &str) -> Rc<dyn IObservable<Option<crate::Ref<crate::FerroObject>>>>
Tracks a named control relative to another control: the observable
produces the element once it is registered (or None once the scope
completes without it) and never completes.
track_value
fn track_value(scope: &NameScopeRef, name: &str) -> Rc<dyn IObservable<Option<BoxedValue>>>
Tracks any named object, including a plain model, without completing the observable.
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.