junkdrawer 0.1.0

A crate for all kinds of utilities.
Documentation
1
2
3
4
5
6
7
8
9
//! This module contains structs and convenience functions that are related to storing data in and retrieving data from collections.
//! There are some structs that can be used as datastore and there are some functions that expand the functionality of structures already present.

/// This is a [`std::collections::VecDeque`] but entirely on the stack, no allocations required.
pub struct StecDeque<T, const N: usize> {
    len: usize,
    start: usize,
    data: [MaybeUninit<T>; N],
}