Struct moore_vhdl::ty::EnumTy
[−]
[src]
pub struct EnumTy { pub decl: TypeDeclRef, }
An enumeration type. Rather than keeping track of each enumeration value in here, we simply point at the type declaration.
Fields
decl: TypeDeclRef
The declaration of the enum.
Methods
impl EnumTy
[src]
fn new(decl: TypeDeclRef) -> EnumTy
[src]
Create a new enumeration type.
Trait Implementations
impl Debug for EnumTy
[src]
impl Clone for EnumTy
[src]
fn clone(&self) -> EnumTy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for EnumTy
[src]
fn eq(&self, __arg_0: &EnumTy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnumTy) -> bool
[src]
This method tests for !=
.