Crate vesta_macro[][src]

This crate defines the case! macro and Match derive macro exported by the Vesta crate, as well as the derive_match! macro that it uses internally.

You cannot use this crate directly, because it depends on Vesta. Instead, use the vesta crate to use these macros.

Macros

case

Match on the cases of a value implementing Match.

derive_match

Derive Match and Case for a “foreign” struct or enum, given its declaration.

Derive Macros

Match

Derive correct and efficient instances of Match and Case for a given struct or enum.