[][src]Enum moore_svlog_syntax::ast::DpiDeclData

pub enum DpiDeclData<'a> {
    Import {
        spec: Spanned<Name>,
        property: Option<Spanned<DpiProperty>>,
        cident: Option<Spanned<Name>>,
        prototype: SubroutinePrototype<'a>,
    },
    Export {
        spec: Spanned<Name>,
        cident: Option<Spanned<Name>>,
        kind: SubroutineKind,
        name: Spanned<Name>,
    },
}

A DPI declaration such as import "DPI-C" or export "DPI-C".

Variants

Import

An import.

Fields of Import

spec: Spanned<Name>property: Option<Spanned<DpiProperty>>cident: Option<Spanned<Name>>prototype: SubroutinePrototype<'a>
Export

An export.

Fields of Export

spec: Spanned<Name>cident: Option<Spanned<Name>>kind: SubroutineKindname: Spanned<Name>

Trait Implementations

impl<'a> AcceptVisitor<'a> for DpiDeclData<'a>[src]

impl<'a> AnyNodeData for DpiDeclData<'a>[src]

impl<'a> Clone for DpiDeclData<'a>[src]

impl<'a> Debug for DpiDeclData<'a>[src]

impl<'a> Eq for DpiDeclData<'a>[src]

impl<'a> ForEachChild<'a> for DpiDeclData<'a>[src]

impl<'a> ForEachNode<'a> for DpiDeclData<'a>[src]

impl<'a> PartialEq<DpiDeclData<'a>> for DpiDeclData<'a>[src]

impl<'a> StructuralEq for DpiDeclData<'a>[src]

impl<'a> StructuralPartialEq for DpiDeclData<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for DpiDeclData<'a>[src]

impl<'a> Send for DpiDeclData<'a>[src]

impl<'a> Sync for DpiDeclData<'a>[src]

impl<'a> Unpin for DpiDeclData<'a>[src]

impl<'a> !UnwindSafe for DpiDeclData<'a>[src]

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<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.