Enum moore_vhdl::konst::Const [] [src]

pub enum Const {
    Null,
    Int(ConstInt),
    Float(ConstFloat),
    Enum(ConstEnum),
    IntRange(ConstIntRange),
    FloatRange(ConstFloatRange),
}

A constant value.

Variants

Methods

impl Const
[src]

[src]

[src]

Provide a textual description of the kind of constant.

Trait Implementations

impl Debug for Const
[src]

[src]

Formats the value using the given formatter.

impl Clone for Const
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl From<ConstInt> for Const
[src]

[src]

Performs the conversion.

impl From<ConstFloat> for Const
[src]

[src]

Performs the conversion.

impl From<ConstEnum> for Const
[src]

[src]

Performs the conversion.

impl From<ConstIntRange> for Const
[src]

[src]

Performs the conversion.

impl From<ConstFloatRange> for Const
[src]

[src]

Performs the conversion.

impl Display for Const
[src]

[src]

Formats the value using the given formatter. Read more