[][src]Struct moore_svlog::hir::Module

pub struct Module<'hir> {
    pub id: NodeId,
    pub name: Spanned<Name>,
    pub span: Span,
    pub ports: &'hir [NodeId],
    pub params: &'hir [NodeId],
    pub block: ModuleBlock,
}

A module.

Fields

id: NodeIdname: Spanned<Name>span: Spanports: &'hir [NodeId]

The ports of the module.

params: &'hir [NodeId]

The parameters of the module.

block: ModuleBlock

The contents of the module.

Trait Implementations

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

impl<'hir> Debug for Module<'hir>[src]

impl<'hir> Eq for Module<'hir>[src]

impl<'_> HasDesc for Module<'_>[src]

impl<'_> HasSpan for Module<'_>[src]

impl<'hir> PartialEq<Module<'hir>> for Module<'hir>[src]

impl<'hir> StructuralEq for Module<'hir>[src]

impl<'hir> StructuralPartialEq for Module<'hir>[src]

Auto Trait Implementations

impl<'hir> RefUnwindSafe for Module<'hir>

impl<'hir> Send for Module<'hir>

impl<'hir> Sync for Module<'hir>

impl<'hir> Unpin for Module<'hir>

impl<'hir> UnwindSafe for Module<'hir>

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.