[][src]Trait generic_std::WithCapacity

pub trait WithCapacity {
    fn with_capacity(capacity: usize) -> Self;
}

Trait for structs that can be constructed with a preallocated capacity.

Required methods

fn with_capacity(capacity: usize) -> Self

Loading content...

Implementations on Foreign Types

impl<T> WithCapacity for Vec<T>[src]

Loading content...

Implementors

Loading content...