Struct moore_vhdl::hir::Package
source · [−]pub struct Package {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub generics: Vec<GenericRef>,
pub decls: Vec<DeclInPkgRef>,
}
Expand description
A package declaration.
See IEEE 1076-2008 section 4.7.
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The package name.
generics: Vec<GenericRef>
The list of generics.
decls: Vec<DeclInPkgRef>
The list of declarations in the package.
Trait Implementations
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgDeclRef, &'ctx Package> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgDeclRef, &'ctx Package> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Auto Trait Implementations
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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