Struct moore_vhdl::hir::PackageInst
source · [−]pub struct PackageInst {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub pkg: Spanned<LatentPkgRef>,
pub generic_map: Vec<()>,
}
Expand description
A package instantiation.
See IEEE 1076-2008 section 4.9.
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The name of the package.
pkg: Spanned<LatentPkgRef>
The package to be instantiated.
generic_map: Vec<()>
The generic map.
Trait Implementations
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 Debug for PackageInst
impl Debug for PackageInst
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgInstRef, &'ctx PackageInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgInstRef, &'ctx PackageInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourcefn make(&self, id: PkgInstRef) -> Result<&'ctx PackageInst>
fn make(&self, id: PkgInstRef) -> Result<&'ctx PackageInst>
Creates the node with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for PackageInst
impl Send for PackageInst
impl Sync for PackageInst
impl Unpin for PackageInst
impl UnwindSafe for PackageInst
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