pub struct Key<IT, const N: usize> { /* private fields */ }
Expand description
The key used to access stored elements.
Important: It should only be used to access the same collection that returned it.
When the runtime_checks
feature is disabled, extra care must be taken to ensure this constraint.
Implementations
Trait Implementations
Auto Trait Implementations
impl<IT, const N: usize> RefUnwindSafe for Key<IT, N> where
IT: RefUnwindSafe,
impl<IT, const N: usize> Send for Key<IT, N> where
IT: Send,
impl<IT, const N: usize> Sync for Key<IT, N> where
IT: Sync,
impl<IT, const N: usize> Unpin for Key<IT, N> where
IT: Unpin,
impl<IT, const N: usize> UnwindSafe for Key<IT, N> where
IT: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more