[][src]Struct moore_svlog::hir::Inst

pub struct Inst<'hir> {
    pub id: NodeId,
    pub name: Spanned<Name>,
    pub span: Span,
    pub target: NodeId,
    pub pos_ports: Vec<PosParam>,
    pub named_ports: Vec<NamedParam>,
    pub has_wildcard_port: bool,
    pub dummy: PhantomData<&'hir ()>,
}

An instantiation.

In an instantiation foo #(...) a(), b(), c();, this struct represents the a() part.

Fields

id: NodeIdname: Spanned<Name>span: Spantarget: NodeId

The target of the instantiation.

pos_ports: Vec<PosParam>

The positional port connections.

named_ports: Vec<NamedParam>

The named port connections.

has_wildcard_port: bool

If the instantiation has a wildcard port connection .*.

dummy: PhantomData<&'hir ()>

Trait Implementations

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'hir> RefUnwindSafe for Inst<'hir>

impl<'hir> Send for Inst<'hir>

impl<'hir> Sync for Inst<'hir>

impl<'hir> Unpin for Inst<'hir>

impl<'hir> UnwindSafe for Inst<'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.