pub trait Ho<T>: Sized {
type Fun: Clone;
}
Expand description
Implemented by higher order types.
A higher order type might be a concrete value,
or it might be a function of some input type T
.
Each higher order type has an associated function type
for any argument of type T
.
This makes it possible to e.g. associate PointFunc<T>
with Point
.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.