[][src]Enum moore_svlog::ast::TypeKindData

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

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<Node<'a, TypeData<'a>>, Global>member: boolname: Spanned<Name>
ForwardType

Fields of ForwardType

kind: Box<Node<'a, TypeKindData<'a>>, Global>
BitType
LogicType
RegType
ByteType
ShortIntType
IntType
IntegerType
LongIntType
TimeType
ShortRealType
RealType
RealtimeType
EnumType(Node<'a, EnumData<'a>>)
StructType(Node<'a, StructData<'a>>)
SpecializedType(Box<Node<'a, TypeData<'a>>, Global>, Vec<ParamAssignment<'a>, Global>)
TypeRef(Box<TypeOrExpr<'a>, Global>)

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>[src]

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

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

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

impl<'a> !UnwindSafe for TypeKindData<'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> Pointable for T

type Init = T

The type for initializers.

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.