[][src]Struct moore_svlog::hir::VarDecl

pub struct VarDecl {
    pub id: NodeId,
    pub name: Spanned<Name>,
    pub span: Span,
    pub ty: NodeId,
    pub init: Option<NodeId>,
}

A variable declaration.

Fields

id: NodeIdname: Spanned<Name>span: Spanty: NodeIdinit: Option<NodeId>

Trait Implementations

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

impl Debug for VarDecl[src]

impl Eq for VarDecl[src]

impl HasDesc for VarDecl[src]

impl HasSpan for VarDecl[src]

impl PartialEq<VarDecl> for VarDecl[src]

impl StructuralEq for VarDecl[src]

impl StructuralPartialEq for VarDecl[src]

Auto Trait Implementations

impl RefUnwindSafe for VarDecl

impl Send for VarDecl

impl Sync for VarDecl

impl Unpin for VarDecl

impl UnwindSafe for VarDecl

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.