pub struct UserDataKey<T> { /* private fields */ }
Implementations§
Source§impl<T> UserDataKey<T>
impl<T> UserDataKey<T>
Trait Implementations§
Source§impl<T> Default for UserDataKey<T>
impl<T> Default for UserDataKey<T>
impl<T> Sync for UserDataKey<T>
Auto Trait Implementations§
impl<T> Freeze for UserDataKey<T>
impl<T> RefUnwindSafe for UserDataKey<T>where
T: RefUnwindSafe,
impl<T> !Send for UserDataKey<T>
impl<T> Unpin for UserDataKey<T>
impl<T> UnwindSafe for UserDataKey<T>where
T: RefUnwindSafe,
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