Trait kwap_msg::Reserve[][src]

pub trait Reserve: Default {
    fn reserve(_: usize) -> Self { ... }
}
Expand description

Data structures that may be created by reserving some amount of space

Provided methods

Create an instance of the collection with a given capacity.

Used to reserve some contiguous space, e.g. Vec::with_capacity

The default implementation invokes Default::default

Implementations on Foreign Types

Implementors