Trait BitmapSliceMut
pub trait BitmapSliceMut: BitmapSlice {
    // Required method
    fn modify(&mut self, f: impl FnMut(u64) -> u64);
    // Provided methods
    fn clear(&mut self) { ... }
    fn copy_from(&mut self, other: &impl BitmapSlice) { ... }
    fn clear_from(&mut self, other: &impl BitmapSlice) { ... }
    fn or_with(&mut self, other: &impl BitmapSlice) { ... }
}Expand description
A mutable bitmap slice.
Required Methods§
Provided Methods§
fn clear(&mut self)
fn clear(&mut self)
Sets all bits in the bitmap to 0.
fn copy_from(&mut self, other: &impl BitmapSlice)
fn copy_from(&mut self, other: &impl BitmapSlice)
Overwrites all bits in the bitmap with bits from other.
Panics if other is smaller than self.
fn clear_from(&mut self, other: &impl BitmapSlice)
fn clear_from(&mut self, other: &impl BitmapSlice)
ANDs each bit in the bitmap with !other.
Panics if other is smaller than self.
fn or_with(&mut self, other: &impl BitmapSlice)
fn or_with(&mut self, other: &impl BitmapSlice)
ORs each bit in the bitmap with other.
Panics if other is smaller than self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.