[][src]Crate bitsreader

Structs

Bits

Traits

AsBits

This trait takes a generator of integers and transforms it into a stream of the bits that compose each of them. This crate already implements it for all integer types, so it only needs to be brought into scope via use bitsreader::AsBits.

One

Implementation detail: simply extends the integer primitives so they have a static method that returns a 1 of the specific integer type.