Enum moore_vhdl::ty2::EnumVariant [−][src]
Expand description
An enumeration variant.
Distinguishes between:
- identifier literals such as
FOO
, and - character literals such as
'0'
.
Variants
Ident(Name)
An identifier enumeration literal.
Tuple Fields of Ident
0: Name
Char(char)
A character enumeration ltieral.
Tuple Fields of Char
0: char
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EnumVariant
impl Send for EnumVariant
impl Sync for EnumVariant
impl Unpin for EnumVariant
impl UnwindSafe for EnumVariant
Blanket Implementations
Mutably borrows from an owned value. Read more