Crate bounded_vec_deque

Source
Expand description

A double-ended queue|ringbuffer with an upper bound on its length.

The primary item of interest in this crate is the BoundedVecDeque type, which is the double-ended q.r. with an etc. that was mentioned above.

This crate requires Rust 1.28.0 or later.

Much of the documentation of this crate was copied (with some modifications) from the VecDeque documentation and other documentation of the Rust standard library.

§Features

The following crate features exist:

  • fused (enabled by default): Implements FusedIterator for the various iterator types.
  • resize_with (requires Rust 1.33): Adds resize_with().

Structs§

Append
A draining iterator over elements from a BoundedVecDeque.
BoundedVecDeque
A double-ended queue|ringbuffer with an upper bound on its length.
Drain
A draining iterator over elements from a BoundedVecDeque.
IntoIter
An owning iterator over elements from a BoundedVecDeque.
Iter
An iterator over references to elements in a BoundedVecDeque.
IterMut
An iterator over mutable references to elements in a BoundedVecDeque.