Struct tvm::ir::ty::TypeDataNode [−][src]
#[repr(C)]pub struct TypeDataNode {
pub base: TypeNode,
pub type_name: GlobalTypeVar,
pub type_vars: Array<TypeVar>,
pub constructors: Array<Constructor>,
}
Fields
base: TypeNode
The header is simply the name of the ADT. We adopt nominal typing for ADT definitions; that is, differently-named ADT definitions with same constructors have different types.
type_name: GlobalTypeVar
type_vars: Array<TypeVar>
The type variables (to allow for polymorphism).
constructors: Array<Constructor>
The constructors.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TypeDataNode
impl !Send for TypeDataNode
impl !Sync for TypeDataNode
impl Unpin for TypeDataNode
impl UnwindSafe for TypeDataNode
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more