Struct syntex_syntax::util::small_vector::SmallVector [−] [src]

pub struct SmallVector<T> { /* fields omitted */ }

A vector type optimized for cases where the size is almost always 0 or 1

Methods

impl<T> SmallVector<T>
[src]

Trait Implementations

impl<T> Default for SmallVector<T>
[src]

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

impl<T> Into<Vec<T>> for SmallVector<T>
[src]

Performs the conversion.

impl<T> FromIterator<T> for SmallVector<T>
[src]

Creates a value from an iterator. Read more

impl<T> Extend<T> for SmallVector<T>
[src]

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

impl<T> IntoIterator for SmallVector<T>
[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<T> MoveMap<T> for SmallVector<T>
[src]