Enum cudarc::driver::sys::CUresourceViewFormat_enum
source · #[repr(u32)]pub enum CUresourceViewFormat_enum {
Show 35 variants
CU_RES_VIEW_FORMAT_NONE,
CU_RES_VIEW_FORMAT_UINT_1X8,
CU_RES_VIEW_FORMAT_UINT_2X8,
CU_RES_VIEW_FORMAT_UINT_4X8,
CU_RES_VIEW_FORMAT_SINT_1X8,
CU_RES_VIEW_FORMAT_SINT_2X8,
CU_RES_VIEW_FORMAT_SINT_4X8,
CU_RES_VIEW_FORMAT_UINT_1X16,
CU_RES_VIEW_FORMAT_UINT_2X16,
CU_RES_VIEW_FORMAT_UINT_4X16,
CU_RES_VIEW_FORMAT_SINT_1X16,
CU_RES_VIEW_FORMAT_SINT_2X16,
CU_RES_VIEW_FORMAT_SINT_4X16,
CU_RES_VIEW_FORMAT_UINT_1X32,
CU_RES_VIEW_FORMAT_UINT_2X32,
CU_RES_VIEW_FORMAT_UINT_4X32,
CU_RES_VIEW_FORMAT_SINT_1X32,
CU_RES_VIEW_FORMAT_SINT_2X32,
CU_RES_VIEW_FORMAT_SINT_4X32,
CU_RES_VIEW_FORMAT_FLOAT_1X16,
CU_RES_VIEW_FORMAT_FLOAT_2X16,
CU_RES_VIEW_FORMAT_FLOAT_4X16,
CU_RES_VIEW_FORMAT_FLOAT_1X32,
CU_RES_VIEW_FORMAT_FLOAT_2X32,
CU_RES_VIEW_FORMAT_FLOAT_4X32,
CU_RES_VIEW_FORMAT_UNSIGNED_BC1,
CU_RES_VIEW_FORMAT_UNSIGNED_BC2,
CU_RES_VIEW_FORMAT_UNSIGNED_BC3,
CU_RES_VIEW_FORMAT_UNSIGNED_BC4,
CU_RES_VIEW_FORMAT_SIGNED_BC4,
CU_RES_VIEW_FORMAT_UNSIGNED_BC5,
CU_RES_VIEW_FORMAT_SIGNED_BC5,
CU_RES_VIEW_FORMAT_UNSIGNED_BC6H,
CU_RES_VIEW_FORMAT_SIGNED_BC6H,
CU_RES_VIEW_FORMAT_UNSIGNED_BC7,
}
Variants§
CU_RES_VIEW_FORMAT_NONE
CU_RES_VIEW_FORMAT_UINT_1X8
CU_RES_VIEW_FORMAT_UINT_2X8
CU_RES_VIEW_FORMAT_UINT_4X8
CU_RES_VIEW_FORMAT_SINT_1X8
CU_RES_VIEW_FORMAT_SINT_2X8
CU_RES_VIEW_FORMAT_SINT_4X8
CU_RES_VIEW_FORMAT_UINT_1X16
CU_RES_VIEW_FORMAT_UINT_2X16
CU_RES_VIEW_FORMAT_UINT_4X16
CU_RES_VIEW_FORMAT_SINT_1X16
CU_RES_VIEW_FORMAT_SINT_2X16
CU_RES_VIEW_FORMAT_SINT_4X16
CU_RES_VIEW_FORMAT_UINT_1X32
CU_RES_VIEW_FORMAT_UINT_2X32
CU_RES_VIEW_FORMAT_UINT_4X32
CU_RES_VIEW_FORMAT_SINT_1X32
CU_RES_VIEW_FORMAT_SINT_2X32
CU_RES_VIEW_FORMAT_SINT_4X32
CU_RES_VIEW_FORMAT_FLOAT_1X16
CU_RES_VIEW_FORMAT_FLOAT_2X16
CU_RES_VIEW_FORMAT_FLOAT_4X16
CU_RES_VIEW_FORMAT_FLOAT_1X32
CU_RES_VIEW_FORMAT_FLOAT_2X32
CU_RES_VIEW_FORMAT_FLOAT_4X32
CU_RES_VIEW_FORMAT_UNSIGNED_BC1
CU_RES_VIEW_FORMAT_UNSIGNED_BC2
CU_RES_VIEW_FORMAT_UNSIGNED_BC3
CU_RES_VIEW_FORMAT_UNSIGNED_BC4
CU_RES_VIEW_FORMAT_SIGNED_BC4
CU_RES_VIEW_FORMAT_UNSIGNED_BC5
CU_RES_VIEW_FORMAT_SIGNED_BC5
CU_RES_VIEW_FORMAT_UNSIGNED_BC6H
CU_RES_VIEW_FORMAT_SIGNED_BC6H
CU_RES_VIEW_FORMAT_UNSIGNED_BC7
Trait Implementations§
source§impl Clone for CUresourceViewFormat_enum
impl Clone for CUresourceViewFormat_enum
source§fn clone(&self) -> CUresourceViewFormat_enum
fn clone(&self) -> CUresourceViewFormat_enum
Returns a copy 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 CUresourceViewFormat_enum
impl Debug for CUresourceViewFormat_enum
source§impl Hash for CUresourceViewFormat_enum
impl Hash for CUresourceViewFormat_enum
source§impl Ord for CUresourceViewFormat_enum
impl Ord for CUresourceViewFormat_enum
source§fn cmp(&self, other: &CUresourceViewFormat_enum) -> Ordering
fn cmp(&self, other: &CUresourceViewFormat_enum) -> 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<CUresourceViewFormat_enum> for CUresourceViewFormat_enum
impl PartialEq<CUresourceViewFormat_enum> for CUresourceViewFormat_enum
source§fn eq(&self, other: &CUresourceViewFormat_enum) -> bool
fn eq(&self, other: &CUresourceViewFormat_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUresourceViewFormat_enum> for CUresourceViewFormat_enum
impl PartialOrd<CUresourceViewFormat_enum> for CUresourceViewFormat_enum
source§fn partial_cmp(&self, other: &CUresourceViewFormat_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUresourceViewFormat_enum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CUresourceViewFormat_enum
impl Eq for CUresourceViewFormat_enum
impl StructuralEq for CUresourceViewFormat_enum
impl StructuralPartialEq for CUresourceViewFormat_enum
Auto Trait Implementations§
impl RefUnwindSafe for CUresourceViewFormat_enum
impl Send for CUresourceViewFormat_enum
impl Sync for CUresourceViewFormat_enum
impl Unpin for CUresourceViewFormat_enum
impl UnwindSafe for CUresourceViewFormat_enum
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