pub struct NameScopeLocator;Expand description
Tracks a named element in a name scope.
Implementations§
Source§impl NameScopeLocator
impl NameScopeLocator
Sourcepub fn track(
scope: &NameScopeRef,
name: &str,
) -> Rc<dyn IObservable<Option<Ref<FerroObject>>>>
pub fn track( scope: &NameScopeRef, name: &str, ) -> Rc<dyn IObservable<Option<Ref<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.
Auto Trait Implementations§
impl Freeze for NameScopeLocator
impl RefUnwindSafe for NameScopeLocator
impl Send for NameScopeLocator
impl Sync for NameScopeLocator
impl Unpin for NameScopeLocator
impl UnsafeUnpin for NameScopeLocator
impl UnwindSafe for NameScopeLocator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more