Enum hip_sys::hiprt::hipResourceViewFormat
source · #[non_exhaustive]#[repr(u32)]pub enum hipResourceViewFormat {
Show 35 variants
hipResViewFormatNone,
hipResViewFormatUnsignedChar1,
hipResViewFormatUnsignedChar2,
hipResViewFormatUnsignedChar4,
hipResViewFormatSignedChar1,
hipResViewFormatSignedChar2,
hipResViewFormatSignedChar4,
hipResViewFormatUnsignedShort1,
hipResViewFormatUnsignedShort2,
hipResViewFormatUnsignedShort4,
hipResViewFormatSignedShort1,
hipResViewFormatSignedShort2,
hipResViewFormatSignedShort4,
hipResViewFormatUnsignedInt1,
hipResViewFormatUnsignedInt2,
hipResViewFormatUnsignedInt4,
hipResViewFormatSignedInt1,
hipResViewFormatSignedInt2,
hipResViewFormatSignedInt4,
hipResViewFormatHalf1,
hipResViewFormatHalf2,
hipResViewFormatHalf4,
hipResViewFormatFloat1,
hipResViewFormatFloat2,
hipResViewFormatFloat4,
hipResViewFormatUnsignedBlockCompressed1,
hipResViewFormatUnsignedBlockCompressed2,
hipResViewFormatUnsignedBlockCompressed3,
hipResViewFormatUnsignedBlockCompressed4,
hipResViewFormatSignedBlockCompressed4,
hipResViewFormatUnsignedBlockCompressed5,
hipResViewFormatSignedBlockCompressed5,
hipResViewFormatUnsignedBlockCompressed6H,
hipResViewFormatSignedBlockCompressed6H,
hipResViewFormatUnsignedBlockCompressed7,
}Expand description
hip texture resource view formats
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hipResViewFormatNone
hipResViewFormatUnsignedChar1
hipResViewFormatUnsignedChar2
hipResViewFormatUnsignedChar4
hipResViewFormatSignedChar1
hipResViewFormatSignedChar2
hipResViewFormatSignedChar4
hipResViewFormatUnsignedShort1
hipResViewFormatUnsignedShort2
hipResViewFormatUnsignedShort4
hipResViewFormatSignedShort1
hipResViewFormatSignedShort2
hipResViewFormatSignedShort4
hipResViewFormatUnsignedInt1
hipResViewFormatUnsignedInt2
hipResViewFormatUnsignedInt4
hipResViewFormatSignedInt1
hipResViewFormatSignedInt2
hipResViewFormatSignedInt4
hipResViewFormatHalf1
hipResViewFormatHalf2
hipResViewFormatHalf4
hipResViewFormatFloat1
hipResViewFormatFloat2
hipResViewFormatFloat4
hipResViewFormatUnsignedBlockCompressed1
hipResViewFormatUnsignedBlockCompressed2
hipResViewFormatUnsignedBlockCompressed3
hipResViewFormatUnsignedBlockCompressed4
hipResViewFormatSignedBlockCompressed4
hipResViewFormatUnsignedBlockCompressed5
hipResViewFormatSignedBlockCompressed5
hipResViewFormatUnsignedBlockCompressed6H
hipResViewFormatSignedBlockCompressed6H
hipResViewFormatUnsignedBlockCompressed7
Trait Implementations§
source§impl Clone for hipResourceViewFormat
impl Clone for hipResourceViewFormat
source§fn clone(&self) -> hipResourceViewFormat
fn clone(&self) -> hipResourceViewFormat
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 hipResourceViewFormat
impl Debug for hipResourceViewFormat
source§impl Hash for hipResourceViewFormat
impl Hash for hipResourceViewFormat
source§impl Ord for hipResourceViewFormat
impl Ord for hipResourceViewFormat
source§fn cmp(&self, other: &hipResourceViewFormat) -> Ordering
fn cmp(&self, other: &hipResourceViewFormat) -> 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<hipResourceViewFormat> for hipResourceViewFormat
impl PartialEq<hipResourceViewFormat> for hipResourceViewFormat
source§fn eq(&self, other: &hipResourceViewFormat) -> bool
fn eq(&self, other: &hipResourceViewFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipResourceViewFormat> for hipResourceViewFormat
impl PartialOrd<hipResourceViewFormat> for hipResourceViewFormat
source§fn partial_cmp(&self, other: &hipResourceViewFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &hipResourceViewFormat) -> 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 hipResourceViewFormat
impl Eq for hipResourceViewFormat
impl StructuralEq for hipResourceViewFormat
impl StructuralPartialEq for hipResourceViewFormat
Auto Trait Implementations§
impl RefUnwindSafe for hipResourceViewFormat
impl Send for hipResourceViewFormat
impl Sync for hipResourceViewFormat
impl Unpin for hipResourceViewFormat
impl UnwindSafe for hipResourceViewFormat
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