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