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

The declaration of the enum.

Methods

impl EnumTy
[src]

[src]

Create a new enumeration type.

Trait Implementations

impl Debug for EnumTy
[src]

[src]

Formats the value using the given formatter.

impl Clone for EnumTy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for EnumTy
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for EnumTy
[src]

impl Display for EnumTy
[src]

[src]

Formats the value using the given formatter. Read more