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> RefUnwindSafe for Index<T, U>where T: RefUnwindSafe, U: RefUnwindSafe,
impl<T, U> Send for Index<T, U>where T: Send, U: Send,
impl<T, U> Sync for Index<T, U>where T: Sync, U: Sync,
impl<T, U> Unpin for Index<T, U>where T: Unpin, U: Unpin,
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