Crate bitut

Source
Expand description

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): makes BitUtils a const trait.

Traits§

BitUtils