pub struct ExtKey<T> { /* private fields */ }Expand description
Typed handle for extension component storage.
Constructed via ExtKey::new with an explicit name, or
ExtKey::from_type_name which uses std::any::type_name::<T>().
Implementations§
Trait Implementations§
impl<T> Copy for ExtKey<T>
Auto Trait Implementations§
impl<T> Freeze for ExtKey<T>
impl<T> RefUnwindSafe for ExtKey<T>where
T: RefUnwindSafe,
impl<T> Send for ExtKey<T>where
T: Send,
impl<T> Sync for ExtKey<T>where
T: Sync,
impl<T> Unpin for ExtKey<T>where
T: Unpin,
impl<T> UnsafeUnpin for ExtKey<T>
impl<T> UnwindSafe for ExtKey<T>where
T: UnwindSafe,
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