pub struct Index<T, U>(/* private fields */);
Expand description
A slot in a type’s “extra data” structure.
It is parameterized over the type containing the extra data as well as the type of the data in the slot.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, U> Freeze for Index<T, U>
impl<T, U> RefUnwindSafe for Index<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Index<T, U>
impl<T, U> Sync for Index<T, U>
impl<T, U> Unpin for Index<T, U>
impl<T, U> UnwindSafe for Index<T, U>where
T: UnwindSafe,
U: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)