Struct slotmapvec::SlotMapIndex
source · pub struct SlotMapIndex { /* private fields */ }
Expand description
An index into a SlotMapVec
.
Trait Implementations
sourceimpl Clone for SlotMapIndex
impl Clone for SlotMapIndex
sourcefn clone(&self) -> SlotMapIndex
fn clone(&self) -> SlotMapIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SlotMapIndex
impl Debug for SlotMapIndex
sourceimpl<T> Index<SlotMapIndex> for SlotMapVec<T>
impl<T> Index<SlotMapIndex> for SlotMapVec<T>
sourceimpl<T> IndexMut<SlotMapIndex> for SlotMapVec<T>
impl<T> IndexMut<SlotMapIndex> for SlotMapVec<T>
sourcefn index_mut(&mut self, key: SlotMapIndex) -> &mut T
fn index_mut(&mut self, key: SlotMapIndex) -> &mut T
Performs the mutable indexing (
container[index]
) operation. Read moresourceimpl PartialEq<SlotMapIndex> for SlotMapIndex
impl PartialEq<SlotMapIndex> for SlotMapIndex
sourcefn eq(&self, other: &SlotMapIndex) -> bool
fn eq(&self, other: &SlotMapIndex) -> bool
impl Copy for SlotMapIndex
impl Eq for SlotMapIndex
impl StructuralEq for SlotMapIndex
impl StructuralPartialEq for SlotMapIndex
Auto Trait Implementations
impl RefUnwindSafe for SlotMapIndex
impl Send for SlotMapIndex
impl Sync for SlotMapIndex
impl Unpin for SlotMapIndex
impl UnwindSafe for SlotMapIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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