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: i64v_float64: f64v_handle: *mut c_voidv_str: *const i8v_type: DLDataTypev_device: DLDeviceTrait 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
