Skip to main content

Module bitseq

Module bitseq 

Source
Expand description

A single Bit, and a packed sequence of bits BitSeq over a generic word I.

Structs§

BitSeq
A sequence of Bits of length up to MAX_LEN = I::BITS, packed into a single word I. The bit at index i is stored at position i of val, i.e. the least-significant bit of val is self[0].

Enums§

Bit
A single binary digit, 0 or 1.

Traits§

BitRepr
The unsigned word backing a BitSeq. Implemented for u8u128.

Type Aliases§

BitSeq8
BitSeq packed into a u8.
BitSeq16
BitSeq packed into a u16.
BitSeq32
BitSeq packed into a u32.
BitSeq64
BitSeq packed into a u64.
BitSeq128
BitSeq packed into a u128.