Struct runestick::Iterator [−][src]
pub struct Iterator { /* fields omitted */ }
Expand description
An owning iterator.
Implementations
Construct a new owning iterator.
The name is only intended to identify the iterator in case of errors.
pub fn from_double_ended<T>(name: &'static str, iter: T) -> Self where
T: DoubleEndedIteratorTrait,
pub fn from_double_ended<T>(name: &'static str, iter: T) -> Self where
T: DoubleEndedIteratorTrait,
Construct a new double-ended owning iterator, with a human-readable name.
The name is only intended to identify the iterator in case of errors.
Get the next value out of the iterator.
Get the next back value out of the iterator.
Map and flatten the iterator using the given function.
Find the first matching value in the iterator using the given function.
Test if all entries in the iterator matches the given predicate.
Test if any entry in the iterator matches the given predicate.
Count the number of elements remaining in the iterator.
Collect results from the iterator.
Integrate over the iterator, using accumulator as the initial value and then forwarding the result of each stage.
Compute the product under the assumption of a homogeonous iterator of type T.
Trait Implementations
Try to convert to the given type, from the given value.
Hook to install more things into the module.