#[repr(i32)]pub enum DataType {
Float = 0,
Half = 1,
Int8 = 2,
Int32 = 3,
Bool = 4,
Uint8 = 5,
Fp8 = 6,
BFloat16 = 7,
Int64 = 8,
Int4 = 9,
Fp4 = 10,
}Variants§
Float = 0
Half = 1
Int8 = 2
Int32 = 3
Bool = 4
Uint8 = 5
Fp8 = 6
BFloat16 = 7
Int64 = 8
Int4 = 9
Fp4 = 10
Trait Implementations§
Source§impl Clone for trtDataType_t
impl Clone for trtDataType_t
Source§fn clone(&self) -> trtDataType_t
fn clone(&self) -> trtDataType_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for trtDataType_t
impl Debug for trtDataType_t
Source§impl PartialEq for trtDataType_t
impl PartialEq for trtDataType_t
Source§fn eq(&self, other: &trtDataType_t) -> bool
fn eq(&self, other: &trtDataType_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for trtDataType_t
impl Eq for trtDataType_t
impl StructuralPartialEq for trtDataType_t
Auto Trait Implementations§
impl Freeze for trtDataType_t
impl RefUnwindSafe for trtDataType_t
impl Send for trtDataType_t
impl Sync for trtDataType_t
impl Unpin for trtDataType_t
impl UnsafeUnpin for trtDataType_t
impl UnwindSafe for trtDataType_t
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