Trait baa::BitVecMutOps

source ·
pub trait BitVecMutOps: BitVecOps {
    // Required method
    fn words_mut(&mut self) -> &mut [Word];

    // Provided methods
    fn assign<'a>(&mut self, value: impl Into<BitVecValueRef<'a>>) { ... }
    fn mask_msb(&mut self) { ... }
    fn clear(&mut self) { ... }
}
Expand description

Operations over mutable bit-vector values.

Required Methods§

source

fn words_mut(&mut self) -> &mut [Word]

Provided Methods§

source

fn assign<'a>(&mut self, value: impl Into<BitVecValueRef<'a>>)

source

fn mask_msb(&mut self)

ensures that all unused bits in the most significant word are set to zero

source

fn clear(&mut self)

sets all bits to zero

Object Safety§

This trait is not object safe.

Implementors§