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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes