/// Trait for a simple container.
pubtraitContainer{/// Get the size of the container.
fnlen(&self)->usize;}/// Trait that represents dynamically growing containers.
pubtraitDynamicContainer: Container {/// Reserves capacity for at least `additional` more elements to be
/// inserted in the container. The collection may reserve more space to avoid
/// frequent reallocations.
fnreserve(&mutself, additional:usize);/// Shrinks the capacity of the container as much as possible.
/// It will drop down as much as possible while maintaining the internal
/// rules and possibly leaving some space in accordance with the resize policy.
fnshrink_to_fit(&mutself);/// Returns the number of elements the container can hold without reallocating.
fncapacity(&self)->usize;}