Enum hip_sys::hiprt::hipResourceType
source · #[non_exhaustive]#[repr(u32)]pub enum hipResourceType {
hipResourceTypeArray,
hipResourceTypeMipmappedArray,
hipResourceTypeLinear,
hipResourceTypePitch2D,
}Expand description
hip resource types
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.
Trait Implementations§
source§impl Clone for hipResourceType
impl Clone for hipResourceType
source§fn clone(&self) -> hipResourceType
fn clone(&self) -> hipResourceType
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 hipResourceType
impl Debug for hipResourceType
source§impl Hash for hipResourceType
impl Hash for hipResourceType
source§impl Ord for hipResourceType
impl Ord for hipResourceType
source§fn cmp(&self, other: &hipResourceType) -> Ordering
fn cmp(&self, other: &hipResourceType) -> 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<hipResourceType> for hipResourceType
impl PartialEq<hipResourceType> for hipResourceType
source§fn eq(&self, other: &hipResourceType) -> bool
fn eq(&self, other: &hipResourceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipResourceType> for hipResourceType
impl PartialOrd<hipResourceType> for hipResourceType
source§fn partial_cmp(&self, other: &hipResourceType) -> Option<Ordering>
fn partial_cmp(&self, other: &hipResourceType) -> 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 hipResourceType
impl Eq for hipResourceType
impl StructuralEq for hipResourceType
impl StructuralPartialEq for hipResourceType
Auto Trait Implementations§
impl RefUnwindSafe for hipResourceType
impl Send for hipResourceType
impl Sync for hipResourceType
impl Unpin for hipResourceType
impl UnwindSafe for hipResourceType
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