[][src]Enum moore_svlog_syntax::ast::TypeKindData

pub enum TypeKindData<'a> {
    ImplicitType,
    VoidType,
    NamedType(Spanned<Name>),
    StringType,
    ChandleType,
    VirtIntfType(Name),
    EventType,
    MailboxType,
    ImplicitSignedType,
    ImplicitUnsignedType,
    ScopedType {
        ty: Box<Type<'a>>,
        member: bool,
        name: Spanned<Name>,
    },
    ForwardType {
        kind: Box<TypeKind<'a>>,
    },
    BitType,
    LogicType,
    RegType,
    ByteType,
    ShortIntType,
    IntType,
    IntegerType,
    LongIntType,
    TimeType,
    ShortRealType,
    RealType,
    RealtimeType,
    EnumType(Enum<'a>),
    StructType(Struct<'a>),
    SpecializedType(Box<Type<'a>>, Vec<ParamAssignment<'a>>),
    TypeRef(Box<TypeOrExpr<'a>>),
}

A type without sign and packed dimensions.

Variants

ImplicitType
VoidType
NamedType(Spanned<Name>)
StringType
ChandleType
VirtIntfType(Name)
EventType
MailboxType
ImplicitSignedType
ImplicitUnsignedType
ScopedType

Fields of ScopedType

ty: Box<Type<'a>>member: boolname: Spanned<Name>
ForwardType

Fields of ForwardType

kind: Box<TypeKind<'a>>
BitType
LogicType
RegType
ByteType
ShortIntType
IntType
IntegerType
LongIntType
TimeType
ShortRealType
RealType
RealtimeType
EnumType(Enum<'a>)
StructType(Struct<'a>)
SpecializedType(Box<Type<'a>>, Vec<ParamAssignment<'a>>)
TypeRef(Box<TypeOrExpr<'a>>)

Type reference, such as type(x) or type(int).

Trait Implementations

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> !RefUnwindSafe for TypeKindData<'a>

impl<'a> Send for TypeKindData<'a>

impl<'a> Sync for TypeKindData<'a>

impl<'a> Unpin for TypeKindData<'a>

impl<'a> !UnwindSafe for TypeKindData<'a>

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.