pub struct Index<T> { /* private fields */ }
Expand description
A wrapper type that indicates an index into the list.
This index may be invalidated by operations on the list itself.
Trait Implementations§
source§impl<T> PartialEq for Index<T>
impl<T> PartialEq for Index<T>
impl<T> Copy for Index<T>
impl<T> Eq for Index<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Index<T>where T: RefUnwindSafe,
impl<T> Send for Index<T>where T: Send,
impl<T> Sync for Index<T>where T: Sync,
impl<T> Unpin for Index<T>where T: Unpin,
impl<T> UnwindSafe for Index<T>where 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