Trait Kind2

Source
pub trait Kind2<A, B> {
    type Output;
}
Expand description

Trait for brands of types of kind "* -> * -> *".

Required Associated Types§

Implementors§

Source§

impl<A, B> Kind2<A, B> for PairBrand

Source§

type Output = Pair<A, B>

Source§

impl<A, B> Kind2<A, B> for ResultBrand

Source§

type Output = Result<B, A>