Struct moore_vhdl::konst::ConstInt [] [src]

pub struct ConstInt {
    pub ty: Option<IntTy>,
    pub value: BigInt,
}

A constant integer value.

Fields

The type of the constant. If None, the constant is assumed to be an unbounded integer which cannot be mapped to LLHD.

The value of the constant.

Methods

impl ConstInt
[src]

[src]

Create a new constant integer.

[src]

Trait Implementations

impl Debug for ConstInt
[src]

[src]

Formats the value using the given formatter.

impl Clone for ConstInt
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl Display for ConstInt
[src]

[src]

Formats the value using the given formatter. Read more