Struct moore_vhdl::hir::SubprogInst [−][src]
pub struct SubprogInst {
pub parent: ScopeRef,
pub kind: SubprogKind,
pub name: Spanned<ResolvableName>,
pub subprog: Spanned<LatentSubprogRef>,
pub generic_map: Vec<()>,
}
Expand description
A subprogram instantiation.
See IEEE 1076-2008 section 4.4.
Fields
parent: ScopeRef
The parent scope.
kind: SubprogKind
Whether this is a procedure, pure function, or impure function.
name: Spanned<ResolvableName>
The name of the subprogram.
subprog: Spanned<LatentSubprogRef>
The subprogram to be instantiated.
generic_map: Vec<()>
The generic map.
Trait Implementations
Allocate a value of type T
.
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubprogInstRef, &'ctx SubprogInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubprogInstRef, &'ctx SubprogInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Creates the node with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for SubprogInst
impl Send for SubprogInst
impl Sync for SubprogInst
impl Unpin for SubprogInst
impl UnwindSafe for SubprogInst
Blanket Implementations
Mutably borrows from an owned value. Read more