pub enum DataType {
Show 18 variants
U8,
U16,
U32,
U64,
S8,
S16,
S32,
S64,
F16,
F16x2,
F32,
F64,
B8,
B16,
B32,
B64,
B128,
Pred,
}Variants§
U8
.u8
U16
.u16
U32
.u32
U64
.u64
S8
.s8
S16
.s16
S32
.s32
S64
.s64
F16
.f16
F16x2
.f16x2
F32
.f32
F64
.f64
B8
.b8
B16
.b16
B32
.b32
B64
.b64
B128
.b128
Pred
.pred
Trait Implementations§
Source§impl PtxParser for DataType
impl PtxParser for DataType
Source§fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
Parse an instance of
Self from the token stream.Source§impl PtxUnparser for DataType
impl PtxUnparser for DataType
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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