A Vec of Bits
at workspace 32 lines 722 B view raw
1//! Implements bit matrices. 2 3#![deny( 4 missing_docs, 5 missing_copy_implementations, 6 trivial_casts, 7 trivial_numeric_casts, 8 unused_import_braces, 9 unused_qualifications 10)] 11#![cfg_attr(test, deny(warnings))] 12#![no_std] 13 14pub mod block; 15pub mod matrix; 16pub mod row; 17pub mod submatrix; 18mod util; 19 20pub use matrix::BitMatrix; 21 22/// A value for borrowing through the `Index` trait. 23pub static TRUE: bool = true; 24/// A value for borrowing through the `Index` trait. 25pub static FALSE: bool = false; 26 27pub(crate) mod local_prelude { 28 pub use crate::block::{Block, BITS}; 29 // pub use crate::matrix::BitMatrix; 30 pub use crate::row::BitSlice; 31 pub use crate::submatrix::{BitSubMatrix, BitSubMatrixMut}; 32}