bit_bool 0.1.0

This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte
Documentation
  • Coverage
  • 83.33%
    5 out of 6 items documented5 out of 6 items with examples
  • Size
  • Source code size: 3.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.39 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lemonlambda

This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte.

Examples

use bit_bool::OneBitBool;
 
let b = OneBitBool::from(true);
 
assert_eq!(b.get_index(0), true);