1 unstable release
0.1.0 | Feb 4, 2024 |
---|
#403 in No standard library
9KB
158 lines
Crate that provides a BitUtils
trait which implements basic bit operations on integer
types. Allows getting/setting the value of a bit or a range of bits. no-std.
Features
assertions
: adds debug assertions that verify valid indices.const_impl
(nightly only): makesBitUtils
a const trait.
lib.rs
:
Crate that provides a BitUtils
trait which implements basic bit operations on integer
types. Allows getting/setting the value of a bit or a range of bits.
Features
assertions
: adds debug assertions that verify valid indices.const_impl
(nightly only): makesBitUtils
a const trait.