pub struct Detached<K, T> { /* private fields */ }Expand description
Detached data. Implements Deref and DerefMut for transparent access to the data. The attached key can be accessed with the key function.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, T> Freeze for Detached<K, T>where
K: Freeze,
impl<K, T> RefUnwindSafe for Detached<K, T>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T> Send for Detached<K, T>
impl<K, T> Sync for Detached<K, T>
impl<K, T> Unpin for Detached<K, T>where
K: Unpin,
impl<K, T> UnsafeUnpin for Detached<K, T>where
K: UnsafeUnpin,
impl<K, T> UnwindSafe for Detached<K, T>where
K: UnwindSafe,
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