Union tvm::runtime::function::ffi::TVMValue [−][src]
#[repr(C)]
pub union TVMValue {
pub v_int64: i64,
pub v_float64: f64,
pub v_handle: *mut c_void,
pub v_str: *const i8,
pub v_type: DLDataType,
pub v_device: DLDevice,
// some fields omitted
}
Expand description
\brief Union type of values being passed through API and function calls.
Fields
v_int64: i64
v_float64: f64
v_handle: *mut c_void
v_str: *const i8
v_type: DLDataType
v_device: DLDevice
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TVMValue
impl UnwindSafe for TVMValue
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