[−][src]Trait cc_traits::Capacity
Collection with known capacity.
Required methods
pub fn capacity(&self) -> usize
[src]
Returns the current capacity of the collection.
This corresponds to the number of elements the collection can hold without reallocation.