[][src]Enum moore_svlog::ast::TypeData

pub enum TypeData {
    ImplicitType,
    VoidType,
    NamedType(Identifier),
    StringType,
    ChandleType,
    VirtIntfType(Name),
    EventType,
    MailboxType,
    ImplicitSignedType,
    ImplicitUnsignedType,
    ScopedType {
        ty: Box<Type>,
        member: bool,
        name: Identifier,
    },
    BitType,
    LogicType,
    RegType,
    ByteType,
    ShortIntType,
    IntType,
    IntegerType,
    LongIntType,
    TimeType,
    ShortRealType,
    RealType,
    RealtimeType,
    EnumType(Option<Box<Type>>, Vec<EnumName>),
    StructType {
        kind: StructKind,
        packed: bool,
        signing: TypeSign,
        members: Vec<StructMember>,
    },
    SpecializedType(Box<Type>, Vec<ParamAssignment>),
}

Variants

ImplicitType
VoidType
NamedType(Identifier)
StringType
ChandleType
VirtIntfType(Name)
EventType
MailboxType
ImplicitSignedType
ImplicitUnsignedType
ScopedType

Fields of ScopedType

ty: Box<Type>member: boolname: Identifier
BitType
LogicType
RegType
ByteType
ShortIntType
IntType
IntegerType
LongIntType
TimeType
ShortRealType
RealType
RealtimeType
EnumType(Option<Box<Type>>, Vec<EnumName>)
StructType

Fields of StructType

kind: StructKindpacked: boolsigning: TypeSignmembers: Vec<StructMember>
SpecializedType(Box<Type>, Vec<ParamAssignment>)

Trait Implementations

impl Clone for TypeData[src]

impl Debug for TypeData[src]

impl Decodable for TypeData[src]

impl Encodable for TypeData[src]

impl Eq for TypeData[src]

impl PartialEq<TypeData> for TypeData[src]

impl StructuralEq for TypeData[src]

impl StructuralPartialEq for TypeData[src]

Auto Trait Implementations

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> 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.