[][src]Struct moore_vhdl::hir::SubprogInst

pub struct SubprogInst {
    pub parent: ScopeRef,
    pub kind: SubprogKind,
    pub name: Spanned<ResolvableName>,
    pub subprog: Spanned<LatentSubprogRef>,
    pub generic_map: Vec<()>,
}

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

impl<'a> Alloc<'a, 'a, SubprogInst> for Arenas[src]

impl Clone for SubprogInst[src]

impl Debug for SubprogInst[src]

impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubprogInstRef, &'ctx SubprogInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.