Module bitvec

Module bitvec 

Source

Structs§

BitSlice
A slice of bits backed by a BitVector.
Iter
An immutable iterator over the bits of the BitVector or BitSlice.
IterMut
A mutable iterator over the bits of the BitVector or BitSlice.
IterOnes
An iterator that iterates over the 1 bits of the BitVector.
IterU8
An iterator that iterates over the bits of the BitVector 8 bits at a time.
IterU16
An iterator that iterates over the bits of the BitVector 16 bits at a time.
IterU32
An iterator that iterates over the bits of the BitVector 32 bits at a time.
IterU64
An iterator that iterates over the bits of the BitVector 64 bits at a time.
IterU128
An iterator that iterates over the bits of the BitVector 128 bits at a time.
IterZeros
An iterator that iterates over the 0 bits of the BitVector.

Enums§

BitOrder
This enum indicates the order in which bits are traversed and counted.

Traits§

AsLsb0
Converts bits to an Lsb0 ordering.
AsMsb0
Converts bits to an Msb0 ordering.
BitwiseClear
Returns a value with some bits of self cleared.
BitwiseClearAssign
Clears some bits of self.
BitwiseLsb
Bitwise & (and), | (or) and ^ (xor) operations on the Lsb bits of self.
BitwiseLsbAssign
Bitwise &= (and assign), |= (or assign) and ^= (xor assign) operations on the Lsb bits of self.
BitwiseMsb
Bitwise & (and), | (or) and ^ (xor) operations on the Msb bits of self.
BitwiseMsbAssign
Bitwise &= (and assign), |= (or assign) and ^= (xor assign) operations on the Msb bits of self.
BitwisePartial
Bitwise & (and), | (or) and ^ (xor) operations on a subset of the bits of self.
BitwisePartialAssign
Bitwise &= (and assign), |= (or assign) and ^= (xor assign) operations on a subset of bits of self.
NotLsb
Bitwise ! (not) operation on the Lsb bits of self.
NotLsbAssign
Bitwise != (not assign) operation on the Lsb bits of self.
NotMsb
Bitwise ! (not) operation on the Msb bits of self.
NotMsbAssign
Bitwise != (not assign) operation on the Msb bits of self.
NotPartial
Bitwise ! (not) operation on a subset of the bits of self.
NotPartialAssign
Bitwise != (not assign) operation on a subset of the bits of self.