Trait aoc::IterUnwrap
source · pub trait IterUnwrap {
type Item;
// Required methods
fn next_uw(&mut self) -> Self::Item;
fn collect_n<const N: usize>(&mut self) -> [Self::Item; N];
}
Expand description
Provides methods on iterators to reduce allocations and .unwrap()
calls when success is assumed.