[][src]Struct moore_svlog::hir::Package

pub struct Package {
    pub id: NodeId,
    pub name: Spanned<Name>,
    pub span: Span,
    pub names: Vec<(Spanned<Name>, NodeId)>,
    pub decls: Vec<NodeId>,
    pub params: Vec<NodeId>,
    pub last_rib: NodeId,
}

A package.

Fields

id: NodeIdname: Spanned<Name>span: Spannames: Vec<(Spanned<Name>, NodeId)>

The names declared in this package.

decls: Vec<NodeId>

The constant declarations in the module.

params: Vec<NodeId>

The parameter declarations in the package.

last_rib: NodeId

The bottom of the name scope tree.

Trait Implementations

impl<'a, 'hir> Alloc<'a, 'a, Package> for Arena<'hir> where
    'hir: 'a, 

impl Debug for Package[src]

impl Eq for Package[src]

impl HasDesc for Package[src]

impl HasSpan for Package[src]

impl PartialEq<Package> for Package[src]

impl StructuralEq for Package[src]

impl StructuralPartialEq for Package[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

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.