#[repr(u32)]pub enum CudaArrayFormat {
UnsignedInt8 = 1,
UnsignedInt16 = 2,
UnsignedInt32 = 3,
SignedInt8 = 8,
SignedInt16 = 9,
SignedInt32 = 10,
Half = 16,
Float = 32,
Nv12 = 176,
}
Expand description
Type of native array format
Variants§
UnsignedInt8 = 1
UnsignedInt16 = 2
UnsignedInt32 = 3
SignedInt8 = 8
SignedInt16 = 9
SignedInt32 = 10
Half = 16
Float = 32
Nv12 = 176
Trait Implementations§
Source§impl Clone for CudaArrayFormat
impl Clone for CudaArrayFormat
Source§fn clone(&self) -> CudaArrayFormat
fn clone(&self) -> CudaArrayFormat
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 CudaArrayFormat
impl Debug for CudaArrayFormat
Source§impl TryFrom<u32> for CudaArrayFormat
impl TryFrom<u32> for CudaArrayFormat
Source§type Error = TryFromPrimitiveError<CudaArrayFormat>
type Error = TryFromPrimitiveError<CudaArrayFormat>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for CudaArrayFormat
impl TryFromPrimitive for CudaArrayFormat
impl Copy for CudaArrayFormat
Auto Trait Implementations§
impl Freeze for CudaArrayFormat
impl RefUnwindSafe for CudaArrayFormat
impl Send for CudaArrayFormat
impl Sync for CudaArrayFormat
impl Unpin for CudaArrayFormat
impl UnwindSafe for CudaArrayFormat
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