pub struct BitChunks<'a> { /* private fields */ }
Expand description

Iterates over an arbitrarily aligned byte buffer

Yields an iterator of u64, and a remainder. The first byte in the buffer will be the least significant byte in output u64

Implementations

Returns the number of remaining bits, guaranteed to be between 0 and 63 (inclusive)

Returns the number of chunks

Returns the bitmask of remaining bits

Returns an iterator over chunks of 64 bits represented as an u64

Trait Implementations

Formats the value using the given formatter. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.