Trait generic_array::functional::MappedGenericSequence[][src]

pub unsafe trait MappedGenericSequence<T, U>: GenericSequence<T> where
    Self::Length: ArrayLength<U>, 
{ type Mapped: GenericSequence<U, Length = Self::Length>; }

Defines the relationship between one generic sequence and another, for operations such as map and zip.

Associated Types

type Mapped: GenericSequence<U, Length = Self::Length>[src]

Mapped sequence type

Loading content...

Implementations on Foreign Types

impl<'a, T, U, S: MappedGenericSequence<T, U>> MappedGenericSequence<T, U> for &'a S where
    &'a S: GenericSequence<T>,
    S: GenericSequence<T, Length = <&'a S as GenericSequence<T>>::Length>,
    <S as GenericSequence<T>>::Length: ArrayLength<U>, 
[src]

type Mapped = <S as MappedGenericSequence<T, U>>::Mapped

impl<'a, T, U, S: MappedGenericSequence<T, U>> MappedGenericSequence<T, U> for &'a mut S where
    &'a mut S: GenericSequence<T>,
    S: GenericSequence<T, Length = <&'a mut S as GenericSequence<T>>::Length>,
    <S as GenericSequence<T>>::Length: ArrayLength<U>, 
[src]

type Mapped = <S as MappedGenericSequence<T, U>>::Mapped

Loading content...

Implementors

impl<T, U, N> MappedGenericSequence<T, U> for GenericArray<T, N> where
    N: ArrayLength<T> + ArrayLength<U>,
    GenericArray<U, N>: GenericSequence<U, Length = N>, 
[src]

type Mapped = GenericArray<U, N>

Loading content...