[][src]Struct frunk::indices::MappingIndicesWrapper

pub struct MappingIndicesWrapper<T>(_);

Index type wrapper for transmogrifying through a (known) container (e.g. Vec).

Trait Implementations

impl<Key, Source, Target, InnerIndices> Transmogrifier<LinkedList<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, LinkedList<Source>> where
    Source: Transmogrifier<Target, InnerIndices>, 
[src]

Implementation of Transmogrifier that maps over a $container in a Field, transmogrifying the elements on the way past.

impl<Key, Source, Target, InnerIndices> Transmogrifier<Vec<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Vec<Source>> where
    Source: Transmogrifier<Target, InnerIndices>, 
[src]

Implementation of Transmogrifier that maps over a $container in a Field, transmogrifying the elements on the way past.

impl<Key, Source, Target, InnerIndices> Transmogrifier<Option<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Option<Source>> where
    Source: Transmogrifier<Target, InnerIndices>, 
[src]

Implementation of Transmogrifier that maps over an Option in a Field, transmogrifying the contained element on the way past if present.

impl<Key, Source, Target, InnerIndices> Transmogrifier<Box<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Box<Source>> where
    Source: Transmogrifier<Target, InnerIndices>, 
[src]

Implementation of Transmogrifier that maps over an Box in a Field, transmogrifying the contained element on the way past.

impl<Key, Source, Target, InnerIndices> Transmogrifier<VecDeque<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, VecDeque<Source>> where
    Source: Transmogrifier<Target, InnerIndices>, 
[src]

Implementation of Transmogrifier that maps over a $container in a Field, transmogrifying the elements on the way past.

Auto Trait Implementations

impl<T> Send for MappingIndicesWrapper<T> where
    T: Send

impl<T> Sync for MappingIndicesWrapper<T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Choices> CoproductSubsetter for Choices[src]

type Remainder = Choices

impl<Source> Sculptor for Source[src]

type Remainder = Source

impl<T, U, I> LiftInto for T where
    U: LiftFrom<T, I>, 
[src]