Trait functional::Rebind2 [] [src]

pub trait Rebind2<Y>: Generic2 {
    type Type;
}

Generic types with at least two parameters can implement this trait providing an ability to change second generic parameter. Associated Type must have same HKT. There are few laws: <<X As Rebind2<T>::Type as Generic2>::Type == T <X As Rebind2<<X as Generic2>::Type>::Type == X

Associated Types

type Type

Implementors