Crate type_dispatch
source ·Expand description
Utilities for dispatching based on generic types.
Modules§
- Utilities for writing derive macros that dispatch a method call to fields in the struct.
Macros§
- Dispatches a constant based on a given generic type.
- Dispatches a function body based on a given generic type.
- A function-like variant of
impl_dispatch
. - Dispatches a constant based on a given generic type.
Traits§
- A dispatch of an object.
- A dispatch of a constant.
- A dispatch of a static function.
Attribute Macros§
- Dispatches a trait implementation to a specified set of generic types.