Struct moore_svlog::hir::Arena[][src]

pub struct Arena<'hir> {
Show 20 fields pub modules: TypedArena<Module<'hir>>, pub interfaces: TypedArena<Interface<'hir>>, pub ports: TypedArena<Port>, pub types: TypedArena<Type>, pub exprs: TypedArena<Expr<'hir>>, pub inst_target: TypedArena<InstTarget<'hir>>, pub insts: TypedArena<Inst<'hir>>, pub type_params: TypedArena<TypeParam>, pub value_params: TypedArena<ValueParam>, pub var_decls: TypedArena<VarDecl>, pub procs: TypedArena<Proc>, pub stmts: TypedArena<Stmt>, pub event_exprs: TypedArena<EventExpr>, pub gens: TypedArena<Gen>, pub genvar_decls: TypedArena<GenvarDecl>, pub typedefs: TypedArena<Typedef>, pub assigns: TypedArena<Assign>, pub packages: TypedArena<Package>, pub enum_variants: TypedArena<EnumVariant>, pub subroutines: TypedArena<Subroutine>, // some fields omitted
}
Expand description

An arena to allocate HIR nodes into.

Fields

modules: TypedArena<Module<'hir>>interfaces: TypedArena<Interface<'hir>>ports: TypedArena<Port>types: TypedArena<Type>exprs: TypedArena<Expr<'hir>>inst_target: TypedArena<InstTarget<'hir>>insts: TypedArena<Inst<'hir>>type_params: TypedArena<TypeParam>value_params: TypedArena<ValueParam>var_decls: TypedArena<VarDecl>procs: TypedArena<Proc>stmts: TypedArena<Stmt>event_exprs: TypedArena<EventExpr>gens: TypedArena<Gen>genvar_decls: TypedArena<GenvarDecl>typedefs: TypedArena<Typedef>assigns: TypedArena<Assign>packages: TypedArena<Package>enum_variants: TypedArena<EnumVariant>subroutines: TypedArena<Subroutine>

Implementations

Create a new arena.

Trait Implementations

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

Allocate a value of type T.

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.