Trait MappedGenericSequence
pub trait MappedGenericSequence<T, U>: GenericSequence<T> {
type Mapped: GenericSequence<U, Length = Self::Length>;
}Expand description
Defines the relationship between one generic sequence and another,
for operations such as map and zip.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<'a, T, U, S> MappedGenericSequence<T, U> for &'a S
impl<'a, T, U, S> MappedGenericSequence<T, U> for &'a S
type Mapped = <S as MappedGenericSequence<T, U>>::Mapped
Source§impl<'a, T, U, S> MappedGenericSequence<T, U> for &'a mut S
impl<'a, T, U, S> MappedGenericSequence<T, U> for &'a mut S
type Mapped = <S as MappedGenericSequence<T, U>>::Mapped
Source§impl<T, U, N: ArrayLength> MappedGenericSequence<T, U> for Box<GenericArray<T, N>>
Available on crate feature alloc only.
impl<T, U, N: ArrayLength> MappedGenericSequence<T, U> for Box<GenericArray<T, N>>
Available on crate feature alloc only.