Struct serde_dynamic_typing::typing::enumeration::Enumeration [−][src]
pub struct Enumeration { /* fields omitted */ }
Expand description
A type unifier for enumerations
Implementations
Creates a new enum with the given variant and an assoiated value
The enum variant as mutable reference
Returns the underlying variant and the associated tuple
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Enumeration
impl Send for Enumeration
impl Sync for Enumeration
impl Unpin for Enumeration
impl UnwindSafe for Enumeration
Blanket Implementations
Mutably borrows from an owned value. Read more