pub trait Bit {
// Required method
fn bit(&self, bit: usize) -> bool;
}Expand description
A trait to get a single bit.
This trait is implemented for all type that implement BitRange<u8>.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".