pub trait BitRange<T> {
// Required method
fn bit_range(&self, msb: usize, lsb: usize) -> T;
}Expand description
A trait to get ranges of bits.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".