pub struct Index<Name> { /* private fields */ }Expand description
A valid index into a FixedVec with name Name. This cannot be created directly except
through the check_index method of the same FixedVec.
Trait Implementations§
Source§impl<Name> Ord for Index<Name>
impl<Name> Ord for Index<Name>
Source§impl<Name> PartialOrd for Index<Name>
impl<Name> PartialOrd for Index<Name>
impl<Name> Copy for Index<Name>
impl<Name> Eq for Index<Name>
Auto Trait Implementations§
impl<Name> Freeze for Index<Name>
impl<Name> RefUnwindSafe for Index<Name>where
Name: RefUnwindSafe,
impl<Name> Send for Index<Name>where
Name: Send,
impl<Name> Sync for Index<Name>where
Name: Sync,
impl<Name> Unpin for Index<Name>where
Name: Unpin,
impl<Name> UnsafeUnpin for Index<Name>
impl<Name> UnwindSafe for Index<Name>where
Name: 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