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.

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.

Creates an iterator that yields nothing.

Creates an iterator that yields an element exactly once.

Get the size hint for the iterator.

Get the next value out of the iterator.

Get the next back value out of the iterator.

Enumerate the iterator.

Map the iterator using the given function.

Map and flatten the iterator using the given function.

Filter 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.

Chain this iterator with another.

Chain this iterator with another.

Map the iterator using the given function.

Skip over the given number of elements from the iterator.

Take the given number of elements from the iterator.

Count the number of elements remaining in the iterator.

Create a peekable iterator.

Peek the next element if supported.

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.

Compute the sum under the assumption of a homogeonous iterator of type T.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Try to convert to the given type, from the given value.

Hook to install more things into the module.

The generic name of the named thing.

The exact type name

Convert into a value.

Convert into a type hash.

Access diagnostical information on the value type.

The output type from the unsafe coercion.

The raw guard returned. Read more

Convert the given reference using unsafe assumptions to a value. Read more

Coerce the output of an unsafe from value into the final output type. Read more

The output type from the unsafe coercion.

The raw guard returned. Read more

Convert the given reference using unsafe assumptions to a value. Read more

Coerce the output of an unsafe from value into the final output type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.