#[repr(u32)]pub enum cudaDataType_t {
Show 14 variants
CUDA_R_16F = 2,
CUDA_C_16F = 6,
CUDA_R_32F = 0,
CUDA_C_32F = 4,
CUDA_R_64F = 1,
CUDA_C_64F = 5,
CUDA_R_8I = 3,
CUDA_C_8I = 7,
CUDA_R_8U = 8,
CUDA_C_8U = 9,
CUDA_R_32I = 10,
CUDA_C_32I = 11,
CUDA_R_32U = 12,
CUDA_C_32U = 13,
}
Variants§
CUDA_R_16F = 2
CUDA_C_16F = 6
CUDA_R_32F = 0
CUDA_C_32F = 4
CUDA_R_64F = 1
CUDA_C_64F = 5
CUDA_R_8I = 3
CUDA_C_8I = 7
CUDA_R_8U = 8
CUDA_C_8U = 9
CUDA_R_32I = 10
CUDA_C_32I = 11
CUDA_R_32U = 12
CUDA_C_32U = 13
Trait Implementations§
Source§impl Clone for cudaDataType_t
impl Clone for cudaDataType_t
Source§fn clone(&self) -> cudaDataType_t
fn clone(&self) -> cudaDataType_t
Returns a duplicate of the value. Read more
1.0.0 · 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 cudaDataType_t
impl Debug for cudaDataType_t
Source§impl Hash for cudaDataType_t
impl Hash for cudaDataType_t
Source§impl Ord for cudaDataType_t
impl Ord for cudaDataType_t
Source§fn cmp(&self, other: &cudaDataType_t) -> Ordering
fn cmp(&self, other: &cudaDataType_t) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cudaDataType_t
impl PartialEq for cudaDataType_t
Source§impl PartialOrd for cudaDataType_t
impl PartialOrd for cudaDataType_t
impl Copy for cudaDataType_t
impl Eq for cudaDataType_t
impl StructuralPartialEq for cudaDataType_t
Auto Trait Implementations§
impl Freeze for cudaDataType_t
impl RefUnwindSafe for cudaDataType_t
impl Send for cudaDataType_t
impl Sync for cudaDataType_t
impl Unpin for cudaDataType_t
impl UnwindSafe for cudaDataType_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