Struct moore_svlog::hir::Inst[][src]

pub struct Inst<'a> {
    pub ast: &'a InstName<'a>,
    pub target: NodeId,
    pub pos_ports: Vec<PosParam>,
    pub named_ports: Vec<NamedParam>,
    pub has_wildcard_port: bool,
}
Expand description

An instantiation.

In an instantiation foo #(...) a(), b(), c();, this struct represents the a() part.

Fields

ast: &'a InstName<'a>

The underlying AST node.

target: NodeId

The target of the instantiation.

pos_ports: Vec<PosParam>

The positional port connections.

named_ports: Vec<NamedParam>

The named port connections.

has_wildcard_port: bool

If the instantiation has a wildcard port connection .*.

Methods from Deref<Target = &'a InstName<'a>>

Check if this is an implicit type.

Check if this is an implicit type.

Get the parent instantiation.

Trait Implementations

Allocate a value of type T.

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Obtain a human-readable descriptive name for this node.

Obtain a human-readable description for this node, possibly containing the node’s name. Read more

Obtain the full span of the input file that this node covers.

Obtain a span which can be used to refer to this node in error messages presented to humans. This will generally be the name for things like entities, processes, and variables. Defaults to return whatever span() returns. Read more

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

This method tests for !=.

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.