Struct moore_vhdl::konst::ConstEnum [] [src]

pub struct ConstEnum {
    pub decl: TypeDeclRef,
    pub index: usize,
}

A constant enumeration value.

Fields

The type declaration which declared the enum.

The index of the literal.

Methods

impl ConstEnum
[src]

[src]

Create a new constant integer.

Trait Implementations

impl Debug for ConstEnum
[src]

[src]

Formats the value using the given formatter.

impl Clone for ConstEnum
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ConstEnum
[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 ConstEnum
[src]

impl Display for ConstEnum
[src]

[src]

Formats the value using the given formatter. Read more