Struct rustc_data_structures::small_vec::SmallVec[][src]

pub struct SmallVec<A: Array>(_);

Methods

impl<A: Array> SmallVec<A>
[src]

Will reallocate onto the heap if needed.

Methods from Deref<Target = AccumulateVec<A>>

Important traits for Drain<'a, A>

Trait Implementations

impl<A> Clone for SmallVec<A> where
    A: Array,
    A::Element: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A> Debug for SmallVec<A> where
    A: Array + Debug,
    A::Element: Debug
[src]

Formats the value using the given formatter. Read more

impl<A: Array> Deref for SmallVec<A>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<A: Array> DerefMut for SmallVec<A>
[src]

Mutably dereferences the value.

impl<A: Array> FromIterator<A::Element> for SmallVec<A>
[src]

Creates a value from an iterator. Read more

impl<A: Array> Extend<A::Element> for SmallVec<A>
[src]

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

impl<A: Array> IntoIterator for SmallVec<A>
[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: Array> Default for SmallVec<A>
[src]

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

impl<A> Encodable for SmallVec<A> where
    A: Array,
    A::Element: Encodable
[src]

impl<A> Decodable for SmallVec<A> where
    A: Array,
    A::Element: Decodable
[src]

Auto Trait Implementations

impl<A> Send for SmallVec<A> where
    <A as Array>::Element: Send,
    <A as Array>::PartialStorage: Send

impl<A> Sync for SmallVec<A> where
    <A as Array>::Element: Sync,
    <A as Array>::PartialStorage: Sync