Struct moore_svlog::GlobalArenas[][src]

pub struct GlobalArenas<'t> {
    pub ast: Arena<'t>,
    // some fields omitted
}
Expand description

The arenas that allocate things in the global context.

Use this struct whenever you want to allocate or internalize something during the compilation procedure.

Fields

ast: Arena<'t>

Implementations

Allocate a list of node IDs.

Allocate an HIR node into the global context.

Allocate a rib.

Allocate a port list.

Allocate a scope.

Allocate an MIR lvalue.

Allocate an MIR rvalue.

Allocate an MIR assignment.

Allocate an AST root.

Allocate an AST type.

Allocate an AST expression.

Trait Implementations

Allow AST nodes to be allocated into GlobalArenas.

Allocate a value of type T.

Returns the “default value” for a type. 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.