Enum hip_sys::hiprt::hipArray_Format
source · #[non_exhaustive]#[repr(u32)]pub enum hipArray_Format {
HIP_AD_FORMAT_UNSIGNED_INT8,
HIP_AD_FORMAT_UNSIGNED_INT16,
HIP_AD_FORMAT_UNSIGNED_INT32,
HIP_AD_FORMAT_SIGNED_INT8,
HIP_AD_FORMAT_SIGNED_INT16,
HIP_AD_FORMAT_SIGNED_INT32,
HIP_AD_FORMAT_HALF,
HIP_AD_FORMAT_FLOAT,
}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.
HIP_AD_FORMAT_UNSIGNED_INT8
HIP_AD_FORMAT_UNSIGNED_INT16
HIP_AD_FORMAT_UNSIGNED_INT32
HIP_AD_FORMAT_SIGNED_INT8
HIP_AD_FORMAT_SIGNED_INT16
HIP_AD_FORMAT_SIGNED_INT32
HIP_AD_FORMAT_HALF
HIP_AD_FORMAT_FLOAT
Trait Implementations§
source§impl Clone for hipArray_Format
impl Clone for hipArray_Format
source§fn clone(&self) -> hipArray_Format
fn clone(&self) -> hipArray_Format
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 hipArray_Format
impl Debug for hipArray_Format
source§impl Hash for hipArray_Format
impl Hash for hipArray_Format
source§impl Ord for hipArray_Format
impl Ord for hipArray_Format
source§fn cmp(&self, other: &hipArray_Format) -> Ordering
fn cmp(&self, other: &hipArray_Format) -> 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<hipArray_Format> for hipArray_Format
impl PartialEq<hipArray_Format> for hipArray_Format
source§fn eq(&self, other: &hipArray_Format) -> bool
fn eq(&self, other: &hipArray_Format) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipArray_Format> for hipArray_Format
impl PartialOrd<hipArray_Format> for hipArray_Format
source§fn partial_cmp(&self, other: &hipArray_Format) -> Option<Ordering>
fn partial_cmp(&self, other: &hipArray_Format) -> 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 hipArray_Format
impl Eq for hipArray_Format
impl StructuralEq for hipArray_Format
impl StructuralPartialEq for hipArray_Format
Auto Trait Implementations§
impl RefUnwindSafe for hipArray_Format
impl Send for hipArray_Format
impl Sync for hipArray_Format
impl Unpin for hipArray_Format
impl UnwindSafe for hipArray_Format
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