Module collections::bitvExperimental [-]  [+] [src]

Reexports

pub use bit::{Bitv};

Structs

Bits

An iterator for Bitv.

Functions

from_bytes

Transforms a byte-vector into a Bitv. Each byte becomes eight bits, with the most significant bits of each byte coming first. Each bit becomes true if equal to 1 or false if equal to 0.

from_fn

Creates a Bitv of the specified length where the value at each index is f(index).