arraydeque 0.3.1

A ring buffer with a fixed capacity, can be stored on the stack.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Behavior semantics for `ArrayDeque`.

/// Marker trait for indicating behaviors of `ArrayDeque`.
pub trait Behavior {}

/// Behavior for `ArrayDeque` that specifies saturating write semantics.
pub struct Saturating;

impl Behavior for Saturating {}

/// Behavior for `ArrayDeque` that specifies wrapping write semantics.
pub struct Wrapping;

impl Behavior for Wrapping {}