pub trait BitRange<V> { // Required method const fn bits(&self, msb: usize, lsb: usize) -> V; }
A trait to retrieve a range of bits as type V.
V
Get a range of bits between lsb..=msb and return as type V.
lsb..=msb