Module rustc_data_structures::accumulate_vec[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A vector type intended to be used for collecting from iterators onto the stack.

Space for up to N elements is provided on the stack. If more elements are collected, Vec is used to store the values on the heap.

The N above is determined by Array's implementor, by way of an associated constant.

Re-exports

use std::ops::Deref;
use std::ops::DerefMut;
use std::ops::RangeBounds;
use std::iter;
use std::iter::IntoIterator;
use std::iter::FromIterator;
use std::slice;
use std::vec;
use rustc_serialize::Encodable;
use rustc_serialize::Encoder;
use rustc_serialize::Decodable;
use rustc_serialize::Decoder;
use array_vec;
use array_vec::Array;
use array_vec::ArrayVec;

Structs

IntoIter [
Experimental
]

Enums

AccumulateVec [
Experimental
]
Drain [
Experimental
]
IntoIterRepr [
Experimental
]