#[repr(u32)]pub enum cudaResourceViewFormat {
Show 35 variants
cudaResViewFormatNone = 0,
cudaResViewFormatUnsignedChar1 = 1,
cudaResViewFormatUnsignedChar2 = 2,
cudaResViewFormatUnsignedChar4 = 3,
cudaResViewFormatSignedChar1 = 4,
cudaResViewFormatSignedChar2 = 5,
cudaResViewFormatSignedChar4 = 6,
cudaResViewFormatUnsignedShort1 = 7,
cudaResViewFormatUnsignedShort2 = 8,
cudaResViewFormatUnsignedShort4 = 9,
cudaResViewFormatSignedShort1 = 10,
cudaResViewFormatSignedShort2 = 11,
cudaResViewFormatSignedShort4 = 12,
cudaResViewFormatUnsignedInt1 = 13,
cudaResViewFormatUnsignedInt2 = 14,
cudaResViewFormatUnsignedInt4 = 15,
cudaResViewFormatSignedInt1 = 16,
cudaResViewFormatSignedInt2 = 17,
cudaResViewFormatSignedInt4 = 18,
cudaResViewFormatHalf1 = 19,
cudaResViewFormatHalf2 = 20,
cudaResViewFormatHalf4 = 21,
cudaResViewFormatFloat1 = 22,
cudaResViewFormatFloat2 = 23,
cudaResViewFormatFloat4 = 24,
cudaResViewFormatUnsignedBlockCompressed1 = 25,
cudaResViewFormatUnsignedBlockCompressed2 = 26,
cudaResViewFormatUnsignedBlockCompressed3 = 27,
cudaResViewFormatUnsignedBlockCompressed4 = 28,
cudaResViewFormatSignedBlockCompressed4 = 29,
cudaResViewFormatUnsignedBlockCompressed5 = 30,
cudaResViewFormatSignedBlockCompressed5 = 31,
cudaResViewFormatUnsignedBlockCompressed6H = 32,
cudaResViewFormatSignedBlockCompressed6H = 33,
cudaResViewFormatUnsignedBlockCompressed7 = 34,
}
Variants§
cudaResViewFormatNone = 0
cudaResViewFormatUnsignedChar1 = 1
cudaResViewFormatUnsignedChar2 = 2
cudaResViewFormatUnsignedChar4 = 3
cudaResViewFormatSignedChar1 = 4
cudaResViewFormatSignedChar2 = 5
cudaResViewFormatSignedChar4 = 6
cudaResViewFormatUnsignedShort1 = 7
cudaResViewFormatUnsignedShort2 = 8
cudaResViewFormatUnsignedShort4 = 9
cudaResViewFormatSignedShort1 = 10
cudaResViewFormatSignedShort2 = 11
cudaResViewFormatSignedShort4 = 12
cudaResViewFormatUnsignedInt1 = 13
cudaResViewFormatUnsignedInt2 = 14
cudaResViewFormatUnsignedInt4 = 15
cudaResViewFormatSignedInt1 = 16
cudaResViewFormatSignedInt2 = 17
cudaResViewFormatSignedInt4 = 18
cudaResViewFormatHalf1 = 19
cudaResViewFormatHalf2 = 20
cudaResViewFormatHalf4 = 21
cudaResViewFormatFloat1 = 22
cudaResViewFormatFloat2 = 23
cudaResViewFormatFloat4 = 24
cudaResViewFormatUnsignedBlockCompressed1 = 25
cudaResViewFormatUnsignedBlockCompressed2 = 26
cudaResViewFormatUnsignedBlockCompressed3 = 27
cudaResViewFormatUnsignedBlockCompressed4 = 28
cudaResViewFormatSignedBlockCompressed4 = 29
cudaResViewFormatUnsignedBlockCompressed5 = 30
cudaResViewFormatSignedBlockCompressed5 = 31
cudaResViewFormatUnsignedBlockCompressed6H = 32
cudaResViewFormatSignedBlockCompressed6H = 33
cudaResViewFormatUnsignedBlockCompressed7 = 34
Trait Implementations§
Source§impl Clone for cudaResourceViewFormat
impl Clone for cudaResourceViewFormat
Source§fn clone(&self) -> cudaResourceViewFormat
fn clone(&self) -> cudaResourceViewFormat
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 cudaResourceViewFormat
impl Debug for cudaResourceViewFormat
Source§impl Hash for cudaResourceViewFormat
impl Hash for cudaResourceViewFormat
Source§impl Ord for cudaResourceViewFormat
impl Ord for cudaResourceViewFormat
Source§fn cmp(&self, other: &cudaResourceViewFormat) -> Ordering
fn cmp(&self, other: &cudaResourceViewFormat) -> 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 cudaResourceViewFormat
impl PartialEq for cudaResourceViewFormat
Source§impl PartialOrd for cudaResourceViewFormat
impl PartialOrd for cudaResourceViewFormat
impl Copy for cudaResourceViewFormat
impl Eq for cudaResourceViewFormat
impl StructuralPartialEq for cudaResourceViewFormat
Auto Trait Implementations§
impl Freeze for cudaResourceViewFormat
impl RefUnwindSafe for cudaResourceViewFormat
impl Send for cudaResourceViewFormat
impl Sync for cudaResourceViewFormat
impl Unpin for cudaResourceViewFormat
impl UnwindSafe for cudaResourceViewFormat
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