Union tvm_sys::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 c_char,
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 c_char
v_type: DLDataType
v_device: DLDevice
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TVMValue
impl UnwindSafe for TVMValue
Blanket Implementations
Mutably borrows from an owned value. Read more