[−][src]Trait higher_cat::Bifunctor
A Bifunctor
lets you change the types of a generic type with two type
parameters.
A Bifunctor
works just like a Functor
, but for types with two type
parameters. It will convert a F<_, _>: Bifunctor
from F<A, B>
to
F<C, D>
using two functions, one Fn(A) -> C
and the other Fn(B) -> D
.
Required methods
Loading content...Implementations on Foreign Types
impl<A, B, C, D> Bifunctor<A, B, C, D> for Result<A, B>
[src]
impl<A, B, C, D, S> Bifunctor<A, B, C, D> for HashMap<A, B, S> where
A: Eq + Hash,
C: Eq + Hash,
S: BuildHasher + Default,
[src]
A: Eq + Hash,
C: Eq + Hash,
S: BuildHasher + Default,
impl<A, B, C, D> Bifunctor<A, B, C, D> for BTreeMap<A, B> where
A: Ord,
C: Ord,
[src]
Loading content...
A: Ord,
C: Ord,