Macro fuel_asm::enum_try_from
source ยท macro_rules! enum_try_from { ( $(#[$meta:meta])* $vis:vis enum $name:ident { $($(#[$vmeta:meta])* $vname:ident $(= $val:expr)?,)* }, $from:ident ) => { ... }; }
Expand description
Defines the enum with TryFrom
trait implementation.