Enum moore_vhdl::hir::Range2[][src]

pub enum Range2<'t> {
    Immediate(SpanSpanned<Dir>, &'t dyn Expr2<'t>, &'t dyn Expr2<'t>),
}
Expand description

A range.

See IEEE 1076-2008 section 5.2.1.

range := range.attribute_name | simple_expression direction simple_expression

Variants

Immediate(SpanSpanned<Dir>, &'t dyn Expr2<'t>, &'t dyn Expr2<'t>)

An range given by two immediate values.

Tuple Fields of Immediate

0: Span1: Spanned<Dir>2: &'t dyn Expr2<'t>3: &'t dyn Expr2<'t>

Implementations

Determine the type of the range.

This determines the type of the range’s bounds and applies any necessary implicit casts to make them be of the same type.

Determine the constant value of the range.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.