[−][src]Trait haskell_bits::functor::Functor
Required methods
fn fmap<TIn, TOut>(f: impl Fn(&TIn) -> TOut, x: &Self::Type) -> Self::Type where
Self: WithTypeArg<TIn> + WithTypeArg<TOut>,
Self: WithTypeArg<TIn> + WithTypeArg<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 OptionTypeCon
[src]
fn fmap<TIn, TOut>(
f: impl Fn(&TIn) -> TOut,
x: &<OptionTypeCon as WithTypeArg<TIn>>::Type
) -> <OptionTypeCon as WithTypeArg<TOut>>::Type
[src]
f: impl Fn(&TIn) -> TOut,
x: &<OptionTypeCon as WithTypeArg<TIn>>::Type
) -> <OptionTypeCon as WithTypeArg<TOut>>::Type
impl Functor for VecTypeCon
[src]
fn fmap<TIn, TOut>(
f: impl Fn(&TIn) -> TOut,
x: &<VecTypeCon as WithTypeArg<TIn>>::Type
) -> <VecTypeCon as WithTypeArg<TOut>>::Type
[src]
f: impl Fn(&TIn) -> TOut,
x: &<VecTypeCon as WithTypeArg<TIn>>::Type
) -> <VecTypeCon as WithTypeArg<TOut>>::Type