Struct tvm_sys::datatype::DataType [−][src]
#[repr(C)]pub struct DataType { /* fields omitted */ }Implementations
Returns the number of bytes occupied by an element of this DataType.
Returns whether this DataType represents primitive type T.
Trait Implementations
Performs the conversion.
Implements TVMType conversion from &str of general format {dtype}{bits}x{lanes}
such as “int32”, “float32” or with lane “float32x1”.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl UnwindSafe for DataType
Blanket Implementations
Mutably borrows from an owned value. Read more
