pub trait BitRange<T> {
    fn bit_range(&self, msb: usize, lsb: usize) -> T;
    fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T);
}
Expand description

A trait to get or set ranges of bits.

Required Methods

Get a range of bits.

Set a range of bits.

Implementations on Foreign Types

Implementors