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