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
sourceimpl<T> PartialEq<Index<T>> for Index<T>
impl<T> PartialEq<Index<T>> 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
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