Searched refs:pad_using (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/itertools/src/ |
D | pad_tail.rs | 20 pub fn pad_using<I, F>(iter: I, min: usize, filler: F) -> PadUsing<I, F> in pad_using() function
|
D | lib.rs | 1472 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/ |
D | test_std.rs | 604 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()
|
D | quick.rs | 900 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/ |
D | CHANGELOG.md | 297 - Added adaptor `.pad_using()`
|