Enum moore_svlog::ty::PackedCore [−][src]
pub enum PackedCore<'a> {
Error,
Void,
IntVec(IntVecType),
IntAtom(IntAtomType),
Struct(StructType<'a>),
Enum(EnumType<'a>),
Named {
name: Spanned<Name>,
ty: &'a PackedType<'a>,
},
Ref {
span: Span,
ty: &'a PackedType<'a>,
},
}
Expand description
A core packed type.
Variants
An error occurred during type computation.
Void.
IntVec(IntVecType)
An integer vector type.
Tuple Fields of IntVec
0: IntVecType
IntAtom(IntAtomType)
An integer atom type.
Tuple Fields of IntAtom
0: IntAtomType
Struct(StructType<'a>)
A packed struct.
Tuple Fields of Struct
0: StructType<'a>
Enum(EnumType<'a>)
An enum.
Tuple Fields of Enum
0: EnumType<'a>
A named type.
Fields of Named
name: Spanned<Name>
How the user originally called the type.
ty: &'a PackedType<'a>
The type this name expands to.
A type reference.
Fields of Ref
span: Span
Location of the type(...)
in the source file.
ty: &'a PackedType<'a>
The type that this reference expands to.
Implementations
Get the default sign for this type.
Check if this type is identical to another one.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PackedCore<'a>
impl<'a> Send for PackedCore<'a>
impl<'a> Sync for PackedCore<'a>
impl<'a> Unpin for PackedCore<'a>
impl<'a> !UnwindSafe for PackedCore<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more