Expand description
This defines and implements the Bits trait which allows user to extract
bit / range of bits off regular integer.
//! # Examples
let v = 0xAB_CD_EF_01_23_45_67_89u64;
assert_eq!(v.bits(0..=63), v);
assert_eq!(v.bits(0..=55), 0xCD_EF_01_23_45_67_89);Traitsยง
- Bits
- Utility trait to make it easier to extract ranges of bits.