pub trait Higher {
type Param;
type Target<T>: Higher<Param = T>;
// Provided method
fn unsafe_cast<T, R>(self) -> R
where Self: Higher<Param = T> + Sized,
R: Higher<Param = T> { ... }
}
Expand description
Implementation of Lightweight Higher Kinded Type for a type of kind * -> *
.