Crate const_dispatch

Source
Expand description

§::const-dispatch

Repository Latest version Documentation MSRV unsafe forbidden License CI no_std compatible

See the docs of const_dispatch! for more info.

Modules§

prelude
The crate’s prelude, designed to be *-blob imported.
primitive
The “impls” for primitive types such as bool and u8

Macros§

const_dispatch
The whole raison d’être of the crate. Statically dispatch a runtime/dynamic value so as to lift it to the const (and thus, type-level) reälm.

Traits§

ConstDispatch
Marker trait for types which may be fed to const_dispatch!.

Derive Macros§

ConstDispatch
Derives/implements ConstDispatch for the given type.