#[non_exhaustive]#[repr(u32)]pub enum ONNXType {
ONNX_TYPE_UNKNOWN = 0,
ONNX_TYPE_TENSOR = 1,
ONNX_TYPE_SEQUENCE = 2,
ONNX_TYPE_MAP = 3,
ONNX_TYPE_OPAQUE = 4,
ONNX_TYPE_SPARSETENSOR = 5,
ONNX_TYPE_OPTIONAL = 6,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ONNX_TYPE_UNKNOWN = 0
ONNX_TYPE_TENSOR = 1
ONNX_TYPE_SEQUENCE = 2
ONNX_TYPE_MAP = 3
ONNX_TYPE_OPAQUE = 4
ONNX_TYPE_SPARSETENSOR = 5
ONNX_TYPE_OPTIONAL = 6
Trait Implementations§
impl Copy for ONNXType
impl Eq for ONNXType
impl StructuralPartialEq for ONNXType
Auto Trait Implementations§
impl Freeze for ONNXType
impl RefUnwindSafe for ONNXType
impl Send for ONNXType
impl Sync for ONNXType
impl Unpin for ONNXType
impl UnwindSafe for ONNXType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more