Struct indexed_vec::IndexVec[][src]

pub struct IndexVec<I, T> where
    I: Idx
{ /* fields omitted */ }

Methods

impl<I, T> IndexVec<I, T> where
    I: Idx
[src]

Trait Implementations

impl<I: Clone, T: Clone> Clone for IndexVec<I, T> where
    I: Idx
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I: Eq, T: Eq> Eq for IndexVec<I, T> where
    I: Idx
[src]

impl<I: PartialEq, T: PartialEq> PartialEq for IndexVec<I, T> where
    I: Idx
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<I: Hash, T: Hash> Hash for IndexVec<I, T> where
    I: Idx
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<I: Idx, T> Send for IndexVec<I, T> where
    T: Send
[src]

impl<I, T> Default for IndexVec<I, T> where
    I: Idx
[src]

Returns the "default value" for a type. Read more

impl<I, T> Index<I> for IndexVec<I, T> where
    I: Idx
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<I, T> IndexMut<I> for IndexVec<I, T> where
    I: Idx
[src]

Performs the mutable indexing (container[index]) operation.

impl<I, T> Extend<T> for IndexVec<I, T> where
    I: Idx
[src]

Extends a collection with the contents of an iterator. Read more

impl<I, T> FromIterator<T> for IndexVec<I, T> where
    I: Idx
[src]

Creates a value from an iterator. Read more

impl<I, T> IntoIterator for IndexVec<I, T> where
    I: Idx
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, I, T> IntoIterator for &'a IndexVec<I, T> where
    I: Idx
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, I, T> IntoIterator for &'a mut IndexVec<I, T> where
    I: Idx
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<I, T> Debug for IndexVec<I, T> where
    I: Idx,
    T: Debug
[src]

Formats the value using the given formatter. Read more

impl<I, T> Serialize for IndexVec<I, T> where
    I: Idx,
    T: Serialize
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, I, T> Deserialize<'de> for IndexVec<I, T> where
    I: Idx,
    T: Deserialize<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl<I, T> !Sync for IndexVec<I, T>