binvec 0.1.1

It is a binary vector type developed in Rust to use memory efficiently. It is characterized by using the minimum memory space to store an array of bool values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Index out of bounds
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct IndexOutOfBounds;


impl core::fmt::Display for IndexOutOfBounds {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        write!(f, "index out of bounds")
    }
}


impl core::error::Error for IndexOutOfBounds {}