[−][src]Trait agnes::partial::PartialMap
Trait for applying a partially-implemented function Func to a cons-list.
Associated Types
type Output
The output of the function, constructed into a cons-list of function results.
Required methods
fn map(&self, f: &mut F) -> Self::Output
Apply the function F
to the value in this element of a cons-list, and recurse.
Implementors
impl<'a, F> PartialMap<F> for Nil
[src]
impl<'a, Label, DType, DI, Fun, Tail, F> PartialMap<F> for StorageCapabilitiesCons<Label, DType, DI, Fun, Implemented, Tail> where
Tail: PartialMap<F>,
F: Func<DType>,
DI: DataIndex<DType = DType>,
[src]
Tail: PartialMap<F>,
F: Func<DType>,
DI: DataIndex<DType = DType>,
type Output = FieldPayloadCons<Label, DType, F::Output, Tail::Output>
fn map(&self, f: &mut F) -> Self::Output
[src]
impl<'a, Label, DType, DI, Fun, Tail, F> PartialMap<F> for StorageCapabilitiesCons<Label, DType, DI, Fun, Unimplemented, Tail> where
Tail: PartialMap<F>,
DI: DataIndex<DType = DType>,
F: FuncDefault,
[src]
Tail: PartialMap<F>,
DI: DataIndex<DType = DType>,
F: FuncDefault,