Trait bv::BitsMutExt[][src]

pub trait BitsMutExt: BitsMut {
    fn bit_assign<T: Bits<Block = Self::Block>>(&mut self, other: T) { ... }
fn bit_and_assign<T: Bits<Block = Self::Block>>(&mut self, other: T) { ... }
fn bit_or_assign<T: Bits<Block = Self::Block>>(&mut self, other: T) { ... }
fn bit_xor_assign<T: Bits<Block = Self::Block>>(&mut self, other: T) { ... }
fn bit_zip_assign<T, F>(&mut self, other: T, fun: F)
    where
        T: Bits<Block = Self::Block>,
        F: FnMut(Self::Block, Self::Block) -> Self::Block
, { ... } }
Expand description

Extension trait for mutable operations on bit slices.

Provided methods

Assigns the bits of other to self.

Panics

If self.bit_len() != other.bit_len().

Assigns the bit-wise and of self and other to self.

Panics

If self.bit_len() != other.bit_len().

Assigns the bit-wise or of self and other to self.

Panics

If self.bit_len() != other.bit_len().

Assigns the bit-wise xor of self and other to self.

Panics

If self.bit_len() != other.bit_len().

Performs an op-assignment from other to self.

In particular, the given function is used to combine each block of self with a block of other, assigning the result back to self.

Panics

If self.bit_len() != other.bit_len().

Implementors