Trait type_equalities::type_functions::TypeFunction[][src]

pub trait TypeFunction<Arg: ?Sized> {
    type Result: ?Sized;
}
Expand description

A trait for type level functions, mapping type arguments to type results.

Note that Self is used only as a marker. See also substitute, which implements coercing of results.

Associated Types

The type that Arg is mapped to by the implementor.

Implementors