Struct hip_sys::hiprt::hipMemAccessDesc
source · #[repr(C)]pub struct hipMemAccessDesc {
pub location: hipMemLocation,
pub flags: hipMemAccessFlags,
}Expand description
Memory access descriptor
Fields§
§location: hipMemLocation< Location on which the accessibility has to change
flags: hipMemAccessFlags< Accessibility flags to set
Trait Implementations§
source§impl Clone for hipMemAccessDesc
impl Clone for hipMemAccessDesc
source§fn clone(&self) -> hipMemAccessDesc
fn clone(&self) -> hipMemAccessDesc
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 hipMemAccessDesc
impl Debug for hipMemAccessDesc
source§impl Default for hipMemAccessDesc
impl Default for hipMemAccessDesc
source§fn default() -> hipMemAccessDesc
fn default() -> hipMemAccessDesc
Returns the “default value” for a type. Read more
source§impl Hash for hipMemAccessDesc
impl Hash for hipMemAccessDesc
source§impl Ord for hipMemAccessDesc
impl Ord for hipMemAccessDesc
source§fn cmp(&self, other: &hipMemAccessDesc) -> Ordering
fn cmp(&self, other: &hipMemAccessDesc) -> 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<hipMemAccessDesc> for hipMemAccessDesc
impl PartialEq<hipMemAccessDesc> for hipMemAccessDesc
source§fn eq(&self, other: &hipMemAccessDesc) -> bool
fn eq(&self, other: &hipMemAccessDesc) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipMemAccessDesc> for hipMemAccessDesc
impl PartialOrd<hipMemAccessDesc> for hipMemAccessDesc
source§fn partial_cmp(&self, other: &hipMemAccessDesc) -> Option<Ordering>
fn partial_cmp(&self, other: &hipMemAccessDesc) -> 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 hipMemAccessDesc
impl Eq for hipMemAccessDesc
impl StructuralEq for hipMemAccessDesc
impl StructuralPartialEq for hipMemAccessDesc
Auto Trait Implementations§
impl RefUnwindSafe for hipMemAccessDesc
impl Send for hipMemAccessDesc
impl Sync for hipMemAccessDesc
impl Unpin for hipMemAccessDesc
impl UnwindSafe for hipMemAccessDesc
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