Trait cc_traits::WithCapacity[][src]

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

Collection that can be created with a minimum given capacity.

Required methods

fn with_capacity(capacity: usize) -> Self[src]

Creates a new instance of Self with the given minimum capacity.

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...