Struct cell_map::iterators::positioned::Positioned[][src]

pub struct Positioned<'a, L, T, S> where
    L: Layer,
    S: Slicer<'a, L, T>, 
{ /* fields omitted */ }
Expand description

A Slicer which wrapps another Slicer and modifies it to produce the position of the item as well as the item itself.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The non-mutable output type for the data of this Slicer.

The mutable output type for the data of this Slicer.

Perform the slice on the given data layer, or None if the slicer has reached the end of its data. Read more

Perform a mutable slice on the given data layer, or None if the slicer has reached the end of its data. Read more

Advance the Slicer to the next index.

Return the current index of the Slicer, or None if the slicer has reached the end of its data. Read more

Resets the index of this Slicer so that it can be used on the next layer in the iteration. The layer input is used for slicers which need to monitor which layer they are on. 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.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.