Struct moore_vhdl::hir::Arenas
source · [−]pub struct Arenas {Show 35 fields
pub lib: Arena<Lib>,
pub entity: Arena<Entity>,
pub arch: Arena<Arch>,
pub intf_sig: Arena<IntfSignal>,
pub subtype_ind: Arena<SubtypeInd>,
pub package: Arena<Package>,
pub package_body: Arena<PackageBody>,
pub package_inst: Arena<PackageInst>,
pub type_decl: Arena<TypeDecl>,
pub subtype_decl: Arena<SubtypeDecl>,
pub expr: Arena<Expr>,
pub aggregate: Arena<Aggregate>,
pub const_decl: Arena<Decl<ConstDecl>>,
pub signal_decl: Arena<Decl<SignalDecl>>,
pub variable_decl: Arena<Decl<VarDecl>>,
pub file_decl: Arena<Decl<FileDecl>>,
pub type_decl2: Arena<Decl<Option<TypeData>>>,
pub process_stmt: Arena<ProcessStmt>,
pub sig_assign_stmt: Arena<SigAssignStmt>,
pub array_type_index: Arena<Spanned<ArrayTypeIndex>>,
pub subprog: Arena<Subprog>,
pub subprog_body: Arena<SubprogBody>,
pub subprog_inst: Arena<SubprogInst>,
pub type_mark: Arena<TypeMarkRef>,
pub wait_stmt: Arena<Stmt<WaitStmt>>,
pub assert_stmt: Arena<Stmt<AssertStmt>>,
pub report_stmt: Arena<Stmt<ReportStmt>>,
pub var_assign_stmt: Arena<Stmt<VarAssignStmt>>,
pub call_stmt: Arena<Stmt<CallStmt>>,
pub if_stmt: Arena<Stmt<IfStmt>>,
pub case_stmt: Arena<Stmt<CaseStmt>>,
pub loop_stmt: Arena<Stmt<LoopStmt>>,
pub nexit_stmt: Arena<Stmt<NexitStmt>>,
pub return_stmt: Arena<Stmt<ReturnStmt>>,
pub null_stmt: Arena<Stmt<NullStmt>>,
}
Fields
lib: Arena<Lib>
entity: Arena<Entity>
arch: Arena<Arch>
intf_sig: Arena<IntfSignal>
subtype_ind: Arena<SubtypeInd>
package: Arena<Package>
package_body: Arena<PackageBody>
package_inst: Arena<PackageInst>
type_decl: Arena<TypeDecl>
subtype_decl: Arena<SubtypeDecl>
expr: Arena<Expr>
aggregate: Arena<Aggregate>
const_decl: Arena<Decl<ConstDecl>>
signal_decl: Arena<Decl<SignalDecl>>
variable_decl: Arena<Decl<VarDecl>>
file_decl: Arena<Decl<FileDecl>>
type_decl2: Arena<Decl<Option<TypeData>>>
process_stmt: Arena<ProcessStmt>
sig_assign_stmt: Arena<SigAssignStmt>
array_type_index: Arena<Spanned<ArrayTypeIndex>>
subprog: Arena<Subprog>
subprog_body: Arena<SubprogBody>
subprog_inst: Arena<SubprogInst>
type_mark: Arena<TypeMarkRef>
wait_stmt: Arena<Stmt<WaitStmt>>
assert_stmt: Arena<Stmt<AssertStmt>>
report_stmt: Arena<Stmt<ReportStmt>>
var_assign_stmt: Arena<Stmt<VarAssignStmt>>
call_stmt: Arena<Stmt<CallStmt>>
if_stmt: Arena<Stmt<IfStmt>>
case_stmt: Arena<Stmt<CaseStmt>>
loop_stmt: Arena<Stmt<LoopStmt>>
nexit_stmt: Arena<Stmt<NexitStmt>>
return_stmt: Arena<Stmt<ReturnStmt>>
null_stmt: Arena<Stmt<NullStmt>>
Implementations
Trait Implementations
sourceimpl<'a> Alloc<'a, 'a, Decl<SignalDecl>> for Arenas
impl<'a> Alloc<'a, 'a, Decl<SignalDecl>> for Arenas
sourcefn alloc(&'a self, value: Decl<SignalDecl>) -> &'a mut Decl<SignalDecl>
fn alloc(&'a self, value: Decl<SignalDecl>) -> &'a mut Decl<SignalDecl>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, IntfSignal> for Arenas
impl<'a> Alloc<'a, 'a, IntfSignal> for Arenas
sourcefn alloc(&'a self, value: IntfSignal) -> &'a mut IntfSignal
fn alloc(&'a self, value: IntfSignal) -> &'a mut IntfSignal
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, PackageBody> for Arenas
impl<'a> Alloc<'a, 'a, PackageBody> for Arenas
sourcefn alloc(&'a self, value: PackageBody) -> &'a mut PackageBody
fn alloc(&'a self, value: PackageBody) -> &'a mut PackageBody
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, PackageInst> for Arenas
impl<'a> Alloc<'a, 'a, PackageInst> for Arenas
sourcefn alloc(&'a self, value: PackageInst) -> &'a mut PackageInst
fn alloc(&'a self, value: PackageInst) -> &'a mut PackageInst
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, ProcessStmt> for Arenas
impl<'a> Alloc<'a, 'a, ProcessStmt> for Arenas
sourcefn alloc(&'a self, value: ProcessStmt) -> &'a mut ProcessStmt
fn alloc(&'a self, value: ProcessStmt) -> &'a mut ProcessStmt
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, SigAssignStmt> for Arenas
impl<'a> Alloc<'a, 'a, SigAssignStmt> for Arenas
sourcefn alloc(&'a self, value: SigAssignStmt) -> &'a mut SigAssignStmt
fn alloc(&'a self, value: SigAssignStmt) -> &'a mut SigAssignStmt
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, Spanned<ArrayTypeIndex>> for Arenas
impl<'a> Alloc<'a, 'a, Spanned<ArrayTypeIndex>> for Arenas
sourcefn alloc(
&'a self,
value: Spanned<ArrayTypeIndex>
) -> &'a mut Spanned<ArrayTypeIndex>
fn alloc(
&'a self,
value: Spanned<ArrayTypeIndex>
) -> &'a mut Spanned<ArrayTypeIndex>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, Stmt<AssertStmt>> for Arenas
impl<'a> Alloc<'a, 'a, Stmt<AssertStmt>> for Arenas
sourcefn alloc(&'a self, value: Stmt<AssertStmt>) -> &'a mut Stmt<AssertStmt>
fn alloc(&'a self, value: Stmt<AssertStmt>) -> &'a mut Stmt<AssertStmt>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, Stmt<ReportStmt>> for Arenas
impl<'a> Alloc<'a, 'a, Stmt<ReportStmt>> for Arenas
sourcefn alloc(&'a self, value: Stmt<ReportStmt>) -> &'a mut Stmt<ReportStmt>
fn alloc(&'a self, value: Stmt<ReportStmt>) -> &'a mut Stmt<ReportStmt>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, Stmt<ReturnStmt>> for Arenas
impl<'a> Alloc<'a, 'a, Stmt<ReturnStmt>> for Arenas
sourcefn alloc(&'a self, value: Stmt<ReturnStmt>) -> &'a mut Stmt<ReturnStmt>
fn alloc(&'a self, value: Stmt<ReturnStmt>) -> &'a mut Stmt<ReturnStmt>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, Stmt<VarAssignStmt>> for Arenas
impl<'a> Alloc<'a, 'a, Stmt<VarAssignStmt>> for Arenas
sourcefn alloc(&'a self, value: Stmt<VarAssignStmt>) -> &'a mut Stmt<VarAssignStmt>
fn alloc(&'a self, value: Stmt<VarAssignStmt>) -> &'a mut Stmt<VarAssignStmt>
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, SubprogBody> for Arenas
impl<'a> Alloc<'a, 'a, SubprogBody> for Arenas
sourcefn alloc(&'a self, value: SubprogBody) -> &'a mut SubprogBody
fn alloc(&'a self, value: SubprogBody) -> &'a mut SubprogBody
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, SubprogInst> for Arenas
impl<'a> Alloc<'a, 'a, SubprogInst> for Arenas
sourcefn alloc(&'a self, value: SubprogInst) -> &'a mut SubprogInst
fn alloc(&'a self, value: SubprogInst) -> &'a mut SubprogInst
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, SubtypeDecl> for Arenas
impl<'a> Alloc<'a, 'a, SubtypeDecl> for Arenas
sourcefn alloc(&'a self, value: SubtypeDecl) -> &'a mut SubtypeDecl
fn alloc(&'a self, value: SubtypeDecl) -> &'a mut SubtypeDecl
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, SubtypeInd> for Arenas
impl<'a> Alloc<'a, 'a, SubtypeInd> for Arenas
sourcefn alloc(&'a self, value: SubtypeInd) -> &'a mut SubtypeInd
fn alloc(&'a self, value: SubtypeInd) -> &'a mut SubtypeInd
Allocate a value of type T
.
sourceimpl<'a> Alloc<'a, 'a, TypeMarkRef> for Arenas
impl<'a> Alloc<'a, 'a, TypeMarkRef> for Arenas
sourcefn alloc(&'a self, value: TypeMarkRef) -> &'a mut TypeMarkRef
fn alloc(&'a self, value: TypeMarkRef) -> &'a mut TypeMarkRef
Allocate a value of type T
.
Auto Trait Implementations
impl !RefUnwindSafe for Arenas
impl Send for Arenas
impl !Sync for Arenas
impl Unpin for Arenas
impl UnwindSafe for Arenas
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more