Struct stack::SmallVec [] [src]

pub struct SmallVec<T: Array, S = Vec<<T as Array>::Item>>(_);

Methods

impl<T: Array, S: Vector + Spilled<ArrayVec<T>>> SmallVec<T, S>
[src]

[src]

[src]

impl<T: Array, S> SmallVec<T, S>
[src]

[src]

Trait Implementations

impl<T: Array, S: Spilled<ArrayVec<T>> + Index<usize>> Index<usize> for SmallVec<T, S> where
    ArrayVec<T>: Index<usize, Output = <S as Index<usize>>::Output>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T: Array, S: Spilled<ArrayVec<T>> + IndexMut<usize>> IndexMut<usize> for SmallVec<T, S> where
    ArrayVec<T>: IndexMut<usize, Output = <S as Index<usize>>::Output>, 
[src]

[src]

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

impl<T: Array, S: Spilled<ArrayVec<T>> + Index<Range<usize>>> Index<Range<usize>> for SmallVec<T, S> where
    ArrayVec<T>: Index<Range<usize>, Output = <S as Index<Range<usize>>>::Output>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T: Array, S: Spilled<ArrayVec<T>> + IndexMut<Range<usize>>> IndexMut<Range<usize>> for SmallVec<T, S> where
    ArrayVec<T>: IndexMut<Range<usize>, Output = <S as Index<Range<usize>>>::Output>, 
[src]

[src]

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

impl<T: Array, S: Spilled<ArrayVec<T>> + Index<RangeFrom<usize>>> Index<RangeFrom<usize>> for SmallVec<T, S> where
    ArrayVec<T>: Index<RangeFrom<usize>, Output = <S as Index<RangeFrom<usize>>>::Output>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T: Array, S: Spilled<ArrayVec<T>> + IndexMut<RangeFrom<usize>>> IndexMut<RangeFrom<usize>> for SmallVec<T, S> where
    ArrayVec<T>: IndexMut<RangeFrom<usize>, Output = <S as Index<RangeFrom<usize>>>::Output>, 
[src]

[src]

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

impl<T: Array, S: Spilled<ArrayVec<T>> + Index<RangeTo<usize>>> Index<RangeTo<usize>> for SmallVec<T, S> where
    ArrayVec<T>: Index<RangeTo<usize>, Output = <S as Index<RangeTo<usize>>>::Output>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T: Array, S: Spilled<ArrayVec<T>> + IndexMut<RangeTo<usize>>> IndexMut<RangeTo<usize>> for SmallVec<T, S> where
    ArrayVec<T>: IndexMut<RangeTo<usize>, Output = <S as Index<RangeTo<usize>>>::Output>, 
[src]

[src]

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

impl<T: Array, S: Spilled<ArrayVec<T>> + Index<RangeFull>> Index<RangeFull> for SmallVec<T, S> where
    ArrayVec<T>: Index<RangeFull, Output = <S as Index<RangeFull>>::Output>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T: Array, S: Spilled<ArrayVec<T>> + IndexMut<RangeFull>> IndexMut<RangeFull> for SmallVec<T, S> where
    ArrayVec<T>: IndexMut<RangeFull, Output = <S as Index<RangeFull>>::Output>, 
[src]

[src]

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

impl<T: Array, S: Clone> Clone for SmallVec<T, S> where
    ArrayVec<T>: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Array, S> From<ArrayVec<T>> for SmallVec<T, S>
[src]

[src]

Performs the conversion.

impl<T: Array, S: Vector<Item = T::Item> + Spilled<ArrayVec<T>>> Vector for SmallVec<T, S>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<T: Array, S: Extend<T::Item>> Extend<T::Item> for SmallVec<T, S> where
    SmallVec<T, S>: Vector
[src]

[src]

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

impl<T: Array, S: Extend<T::Item>> FromIterator<T::Item> for SmallVec<T, S> where
    SmallVec<T, S>: Vector
[src]

[src]

Creates a value from an iterator. Read more

impl<T: Array, S: IntoIterator<Item = <ArrayVec<T> as IntoIterator>::Item>> IntoIterator for SmallVec<T, S> where
    ArrayVec<T>: IntoIterator
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<T: Array, S: Deref> Deref for SmallVec<T, S> where
    ArrayVec<T>: Deref<Target = S::Target>, 
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T: Array, S: DerefMut> DerefMut for SmallVec<T, S> where
    ArrayVec<T>: DerefMut + Deref<Target = S::Target>, 
[src]

[src]

Mutably dereferences the value.

impl<T: Array, S> Default for SmallVec<T, S>
[src]

[src]

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

impl<T: Array, S: Hash> Hash for SmallVec<T, S> where
    ArrayVec<T>: Hash
[src]

[src]

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

1.3.0
[src]

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

impl<T: Array, S: Debug + Vector<Item = T::Item> + Spilled<ArrayVec<T>>> Debug for SmallVec<T, S> where
    ArrayVec<T>: Debug
[src]

[src]

Formats the value using the given formatter.

impl<'a, T: Array + 'a, S: Vector<Item = T::Item> + 'a> AsRef<Vector<Item = T::Item> + 'a> for SmallVec<T, S> where
    T::Item: 'a,
    T::Index: 'a, 
[src]

[src]

Performs the conversion.