Trait reproto_core::ForEachLoc
[−]
[src]
pub trait ForEachLoc { type Item; fn for_each_loc<F, E: WithPos>(self, callback: F) -> Result<(), E>
where
F: FnMut(Self::Item) -> Result<(), E>; }
Helper trait to iterate over a collection of loc items.
Associated Types
type Item
Required Methods
fn for_each_loc<F, E: WithPos>(self, callback: F) -> Result<(), E> where
F: FnMut(Self::Item) -> Result<(), E>,
F: FnMut(Self::Item) -> Result<(), E>,
Implementors
impl<T, I> ForEachLoc for I where
I: IntoIterator<Item = T>,
T: AsLoc, type Item = T::Output;