Home
last modified time | relevance | path

Searched refs:pad_using (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/itertools/src/
Dpad_tail.rs20 pub fn pad_using<I, F>(iter: I, min: usize, filler: F) -> PadUsing<I, F> in pad_using() function
Dlib.rs1472 fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> in pad_using() method
1476 pad_tail::pad_using(self, min, f) in pad_using()
/external/rust/crates/itertools/tests/
Dtest_std.rs604 fn pad_using() { in pad_using() function
605 it::assert_equal((0..0).pad_using(1, |_| 1), 1..2); in pad_using()
608 let r = v.into_iter().pad_using(5, |n| n); in pad_using()
612 let r = v.into_iter().pad_using(1, |_| panic!()); in pad_using()
Dquick.rs900 correct_size_hint(it.clone().pad_using(pad as usize, |_| 0)) &&
901 correct_size_hint(it.dropping(1).rev().pad_using(pad as usize, |_| 0))
907 exact_size(it.pad_using(pad as usize, |_| 0))
/external/rust/crates/itertools/
DCHANGELOG.md297 - Added adaptor `.pad_using()`