Trait otter_api_tests::IteratorExt [−][src]
pub trait IteratorExt<U, E, F>: Iterator where
F: FnMut(Self::Item) -> Result<U, Loop<E>>, { type Return: Iterator; type TryReturn: Iterator; pub fn map_loop(self, f: F) -> Self::Return
where
E: EmptyType; pub fn try_map_loop(self, f: F) -> Self::TryReturn; }
Associated Types
Loading content...Required methods
pub fn map_loop(self, f: F) -> Self::Return where
E: EmptyType,
[src]
E: EmptyType,
pub fn try_map_loop(self, f: F) -> Self::TryReturn
[src]
Implementors
impl<T, U, E, F> IteratorExt<U, E, F> for T where
T: Iterator,
F: FnMut(<T as Iterator>::Item) -> Result<U, Loop<E>>,
[src]
T: Iterator,
F: FnMut(<T as Iterator>::Item) -> Result<U, Loop<E>>,
type Return = impl Iterator<Item = U>
pub fn map_loop(self, f: F) -> <T as IteratorExt<U, E, F>>::Return where
E: EmptyType,
[src]
E: EmptyType,