[][src]Struct moore_vhdl::hir::Package

pub struct Package {
    pub parent: ScopeRef,
    pub name: Spanned<Name>,
    pub generics: Vec<GenericRef>,
    pub decls: Vec<DeclInPkgRef>,
}

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

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

impl Debug for Package[src]

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

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

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, 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.