Struct tvm::ir::ty::FuncTypeNode [−][src]
#[repr(C)]pub struct FuncTypeNode {
pub base: TypeNode,
pub arg_types: Array<Type>,
pub ret_type: Type,
pub type_params: Array<TypeVar>,
pub type_constraints: Array<TypeConstraint>,
}
Expand description
The representation of a polymorphic function type.
Fields
base: TypeNode
arg_types: Array<Type>
The type of arguments.
ret_type: Type
The return type of the function.
type_params: Array<TypeVar>
…
type_constraints: Array<TypeConstraint>
Type constraints that must hold when calling this function.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FuncTypeNode
impl !Send for FuncTypeNode
impl !Sync for FuncTypeNode
impl Unpin for FuncTypeNode
impl UnwindSafe for FuncTypeNode
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