pub struct RegistryEntry<R: Registry + ?Sized> { /* private fields */ }
Expand description
An entry describing a type registered to a registry.
Implementations§
Source§impl<R: Registry + ?Sized> RegistryEntry<R>
impl<R: Registry + ?Sized> RegistryEntry<R>
Sourcepub fn registry_id(&self) -> RegistryId
pub fn registry_id(&self) -> RegistryId
Gets the ID of the registry to which this entry is registered.
Sourcepub fn registration_id(&self) -> RegistrationId<R>
pub fn registration_id(&self) -> RegistrationId<R>
Gets the ID of this entry.
Trait Implementations§
Source§impl<R: Clone + Registry + ?Sized> Clone for RegistryEntry<R>
impl<R: Clone + Registry + ?Sized> Clone for RegistryEntry<R>
Source§fn clone(&self) -> RegistryEntry<R>
fn clone(&self) -> RegistryEntry<R>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<R: Copy + Registry + ?Sized> Copy for RegistryEntry<R>
Auto Trait Implementations§
impl<R> Freeze for RegistryEntry<R>where
R: ?Sized,
impl<R> RefUnwindSafe for RegistryEntry<R>where
R: ?Sized,
impl<R> Send for RegistryEntry<R>where
R: ?Sized,
impl<R> Sync for RegistryEntry<R>where
R: ?Sized,
impl<R> Unpin for RegistryEntry<R>where
R: ?Sized,
impl<R> UnwindSafe for RegistryEntry<R>where
R: ?Sized,
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