[][src]Struct moore_vhdl::hir::Decl

pub struct Decl<T> {
    pub parent: ScopeRef,
    pub span: Span,
    pub name: Spanned<Name>,
    pub decl: T,
}

An object declaration.

See IEEE 1076-2008 section 6.4.2.1.

Fields

parent: ScopeRef

The scope within which the declaration is made.

span: Span

The span this declaration covers.

name: Spanned<Name>

The name of the declared object.

decl: T

The actual declaration.

Trait Implementations

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

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

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

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

impl<'a> Alloc<'a, 'a, Decl<Option<TypeData>>> for Arenas[src]

impl<T: Debug> Debug for Decl<T>[src]

Auto Trait Implementations

impl<T> Send for Decl<T> where
    T: Send

impl<T> Sync for Decl<T> where
    T: Sync

impl<T> Unpin for Decl<T> where
    T: Unpin

impl<T> UnwindSafe for Decl<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Decl<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]