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