Trait iterext::Pad [−][src]
Required methods
fn pad(self, padding: T, group_size: usize) -> Padded<'a, T>
[src]
Ensure that a stream has a length of a multiple of group_size
.
If iter
ends at a length which is not a multiple of group_size
,
instances of padding
are copied into the stream until the length
is correct.
This is a fused iterator.
Implementors
impl<'a, I, T> Pad<'a, T> for I where
I: IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: 'a,
T: 'a + Copy,
[src]
I: IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: 'a,
T: 'a + Copy,