pub struct AnySelectionRegistrar { /* private fields */ }Expand description
Erased SelectionRegistrar, for a registrant that does not name the concrete registrar.
Implementations§
Source§impl AnySelectionRegistrar
impl AnySelectionRegistrar
Sourcepub fn add(self, app: &mut App, selectable: AnySelectable)
pub fn add(self, app: &mut App, selectable: AnySelectable)
Sourcepub fn remove(self, app: &mut App, selectable: AnySelectable)
pub fn remove(self, app: &mut App, selectable: AnySelectable)
Source§impl AnySelectionRegistrar
impl AnySelectionRegistrar
Sourcepub fn upgrade(self, app: &App) -> Option<Retained<AnySelectionRegistrar>>
pub fn upgrade(self, app: &App) -> Option<Retained<AnySelectionRegistrar>>
A reference while something still keeps the object, None once it is freed or
its last keeper has let go; see Handle::upgrade.
Sourcepub fn keep(self, app: &App) -> Retained<AnySelectionRegistrar>
pub fn keep(self, app: &App) -> Retained<AnySelectionRegistrar>
A reference to an object something is known to keep; see
Handle::keep.
Trait Implementations§
Source§impl Clone for AnySelectionRegistrar
impl Clone for AnySelectionRegistrar
impl Copy for AnySelectionRegistrar
Source§impl Debug for AnySelectionRegistrar
impl Debug for AnySelectionRegistrar
impl Eq for AnySelectionRegistrar
Source§impl From<AnySelectionRegistrar> for HandleId
impl From<AnySelectionRegistrar> for HandleId
Source§fn from(handle: AnySelectionRegistrar) -> HandleId
fn from(handle: AnySelectionRegistrar) -> HandleId
Converts to this type from the input type.
Source§impl<Leaf: SelectionRegistrar> From<Handle<Leaf>> for AnySelectionRegistrar
impl<Leaf: SelectionRegistrar> From<Handle<Leaf>> for AnySelectionRegistrar
Source§fn from(handle: Handle<Leaf>) -> AnySelectionRegistrar
fn from(handle: Handle<Leaf>) -> AnySelectionRegistrar
Converts to this type from the input type.
Source§impl Hash for AnySelectionRegistrar
impl Hash for AnySelectionRegistrar
Source§impl PartialEq for AnySelectionRegistrar
impl PartialEq for AnySelectionRegistrar
Auto Trait Implementations§
impl Forget for AnySelectionRegistrar
impl Freeze for AnySelectionRegistrar
impl Move for AnySelectionRegistrar
impl RefUnwindSafe for AnySelectionRegistrar
impl Send for AnySelectionRegistrar
impl Sync for AnySelectionRegistrar
impl Unpin for AnySelectionRegistrar
impl UnsafeUnpin for AnySelectionRegistrar
impl UnwindSafe for AnySelectionRegistrar
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.