Struct slotmapvec::SlotMapIndex
[−]
[src]
pub struct SlotMapIndex { /* fields omitted */ }
An index into a SlotMapVec
.
Trait Implementations
impl Copy for SlotMapIndex
[src]
impl Clone for SlotMapIndex
[src]
fn clone(&self) -> SlotMapIndex
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SlotMapIndex
[src]
fn eq(&self, __arg_0: &SlotMapIndex) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SlotMapIndex) -> bool
[src]
This method tests for !=
.
impl Eq for SlotMapIndex
[src]
impl Debug for SlotMapIndex
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Index<SlotMapIndex> for SlotMapVec<T>
[src]
type Output = T
The returned type after indexing.
fn index(&self, key: SlotMapIndex) -> &T
[src]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<SlotMapIndex> for SlotMapVec<T>
[src]
fn index_mut(&mut self, key: SlotMapIndex) -> &mut T
[src]
Performs the mutable indexing (container[index]
) operation.