Struct moore_vhdl::hir::SubprogBody
[−]
[src]
pub struct SubprogBody { pub parent: ScopeRef, pub spec: SubprogSpec, pub subprog: Spanned<LatentSubprogRef>, pub decls: Vec<DeclInSubprogRef>, pub stmts: Vec<SeqStmtRef>, }
A subprogram body.
See IEEE 1076-2008 section 4.3.
Fields
parent: ScopeRef
The parent scope.
spec: SubprogSpec
The specification, aka the signature.
subprog: Spanned<LatentSubprogRef>
The subprogram this body targets.
decls: Vec<DeclInSubprogRef>
The declarations in the subprogram.
stmts: Vec<SeqStmtRef>
The statements in the subprogram.
Trait Implementations
impl Clone for SubprogBody
[src]
fn clone(&self) -> SubprogBody
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more