Macro enso_shapely::define_singleton_enum [−][src]
macro_rules! define_singleton_enum { ( $(#$meta:tt)* $name:ident { $( $(#$field_meta:tt)* $field:ident ),* $(,)? } ) => { ... }; }
Expand description
Defines singletons and an associated enum type.
It expands to the same as define_singletons
and define_singleton_enum_from
.