Crate type_fn

Source

Macros§

assert_types_eq
Verifies equality between two types at compile-time.
call
Calls a type-fn
call_as
type_fn
Creates type functions. You will still need to implement them yourself, e.g. using type_fn_impl!. Syntax: $[$visibility$]$ fn $name$ <$args$>;
type_fn_impl
Generates type-fn implementations. Syntax: fn<$FnType$> $name$<$args$> $[$where-clause$]$ => $return-type$;

Traits§

TypeFn
Default trait for returning something from a type-fn