[][src]Module edisp::dispatchers

A dispatch trait for various kind of n-variants enums.

This crate contains the trait Dispatch which defines the prototype of the dispatch associated function. It is very general and fits for every enum, regardless the number of variants it contains. This trait should however be implemented for enums with two variants or more.

Traits

Dispatch

A dispatcher trait.