#[repr(C)]pub struct hipMemAccessDesc {
pub location: hipMemLocation,
pub flags: hipMemAccessFlags,
}Expand description
Memory access descriptor structure is used to specify memory access permissions for a virtual memory region in Virtual Memory Management API. This structure changes read, and write permissions for specific memory regions.
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 duplicate 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
impl Copy for hipMemAccessDesc
Auto Trait Implementations§
impl Freeze for hipMemAccessDesc
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