pub trait BitChunkIterExact<B: BitChunk>: TrustedLen<Item = B> {
fn remainder(&self) -> B;
fn remainder_len(&self) -> usize;
fn remainder_iter(&self) -> BitChunkIter<B>ⓘNotable traits for BitChunkIter<T>impl<T: BitChunk> Iterator for BitChunkIter<T> type Item = bool;
{ ... }
}
Expand description
Trait representing an exact iterator over bytes in BitChunk
.
Required methods
fn remainder_len(&self) -> usize
fn remainder_len(&self) -> usize
The number of items in the remainder
Provided methods
fn remainder_iter(&self) -> BitChunkIter<B>ⓘNotable traits for BitChunkIter<T>impl<T: BitChunk> Iterator for BitChunkIter<T> type Item = bool;
fn remainder_iter(&self) -> BitChunkIter<B>ⓘNotable traits for BitChunkIter<T>impl<T: BitChunk> Iterator for BitChunkIter<T> type Item = bool;
An iterator over individual items of the remainder