Associated function in collections::deque · VecDeque coil-stdlib

VecDeque::with_capacity

pub static fn with_capacity(int cap) -> VecDeque<T>
Import
use collections::deque::{VecDeque};
Source: src/collections/deque.hy

Empty deque with ring capacity rounded up to the next power of two (min 8).

Parameters#

NameType
capint

Returns#

VecDeque<T>

See also#

↑ ↓ navigate ↵ open