Crate declarative_type_state

Source

Re-exports§

pub use transition_result::Transition::ChangedTo;
pub use transition_result::Transition::Unchanged;

Macros§

delegated_enum
Generates an enum with the specified variants, and implements the specified traits and methods for the enum, where each variant’s type also implements the traits/methods.
enum_delegate_impls
Implements the specified traits and methods for the enum, where each variant’s type also implements the traits/methods.
enum_variants_convert
Implements for each variant’s type:
enum_variants_table
extract_variants
Extracts all variants of input enum
extract_variants_into_enum
Extracts all variants of the enum and creates a new enum with the extracted variants
newtype_table
type_state_enum
type_table
type_value_table
unit_enum_delegate_impls
unit_enum_delegated
unit_enum_variants_convert

Enums§

Transition

Traits§

FromEnum
FromEnumMut
FromEnumRef
MemberOf