pub trait Collection {
    // Required method
    fn with_capacity(cap: usize) -> Self;
}
Expand description

Collection.

Required Methods§

source

fn with_capacity(cap: usize) -> Self

Create a new queue with the given capacity.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, const N: usize> Collection for Circular<N, T>