Struct moore_svlog::hir::Module[][src]

pub struct Module<'a> {
    pub ast: &'a Module<'a>,
    pub ports_new: &'a PortList<'a>,
    pub params: &'a [NodeId],
    pub block: ModuleBlock,
    pub last_rib: NodeId,
}
Expand description

A module.

Fields

ast: &'a Module<'a>

The AST node.

ports_new: &'a PortList<'a>

The ports of the module.

params: &'a [NodeId]

The parameters of the module.

block: ModuleBlock

The contents of the module.

last_rib: NodeId

The bottom of the name scope tree.

Methods from Deref<Target = &'a Module<'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.