[−][src]Trait haskell_bits::functor::Functor
Required methods
fn fmap<TIn, TOut, F>(f: F, x: &Self::Type) -> Self::Type where
Self: WithTypeArg<TIn> + WithTypeArg<TOut>,
F: Fn(&TIn) -> TOut,
Self: WithTypeArg<TIn> + WithTypeArg<TOut>,
F: Fn(&TIn) -> TOut,
Provided methods
fn fmapconst<TIn, TOut>(e: &TOut, x: &Self::Type) -> Self::Type where
Self: WithTypeArg<TIn> + WithTypeArg<TOut>,
TOut: Clone,
Self: WithTypeArg<TIn> + WithTypeArg<TOut>,
TOut: Clone,
Implementors
impl Functor for haskell_bits::impls::OptionTypeCon
[src]
fn fmap<TIn, TOut, F>(
f: F,
x: &<TypeCon as WithTypeArg<TIn>>::Type
) -> <TypeCon as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,
[src]
f: F,
x: &<TypeCon as WithTypeArg<TIn>>::Type
) -> <TypeCon as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,
impl Functor for haskell_bits::impls::VecTypeCon
[src]
fn fmap<TIn, TOut, F>(
f: F,
x: &<TypeCon as WithTypeArg<TIn>>::Type
) -> <TypeCon as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,
[src]
f: F,
x: &<TypeCon as WithTypeArg<TIn>>::Type
) -> <TypeCon as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,
impl<E> Functor for haskell_bits::impls::ResultTypeCon<E> where
E: Clone,
[src]
E: Clone,
fn fmap<TIn, TOut, F>(
f: F,
x: &<TypeCon<E> as WithTypeArg<TIn>>::Type
) -> <TypeCon<E> as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,
[src]
f: F,
x: &<TypeCon<E> as WithTypeArg<TIn>>::Type
) -> <TypeCon<E> as WithTypeArg<TOut>>::Type where
F: Fn(&TIn) -> TOut,