pub trait BitChunkIterExact<B>: TrustedLen<Item = B>
where B: BitChunk,
{ // Required methods fn remainder(&self) -> B; fn remainder_len(&self) -> usize; // Provided method fn remainder_iter(&self) -> BitChunkIter<B> { ... } }
Expand description

Trait representing an exact iterator over bytes in BitChunk.

Required Methods§

fn remainder(&self) -> B

The remainder of the iterator.

fn remainder_len(&self) -> usize

The number of items in the remainder

Provided Methods§

fn remainder_iter(&self) -> BitChunkIter<B>

An iterator over individual items of the remainder

Implementors§

§

impl<T> BitChunkIterExact<T> for BitChunks<'_, T>
where T: BitChunk,

§

impl<T> BitChunkIterExact<T> for BitChunksExact<'_, T>
where T: BitChunk,