#[repr(C)]pub struct hipPointerAttribute_t {
pub type_: hipMemoryType,
pub device: c_int,
pub devicePointer: *mut c_void,
pub hostPointer: *mut c_void,
pub isManaged: c_int,
pub allocationFlags: c_uint,
}
Expand description
Pointer attributes
Fields§
§type_: hipMemoryType
§device: c_int
§devicePointer: *mut c_void
§hostPointer: *mut c_void
§isManaged: c_int
§allocationFlags: c_uint
Trait Implementations§
Source§impl Clone for hipPointerAttribute_t
impl Clone for hipPointerAttribute_t
Source§fn clone(&self) -> hipPointerAttribute_t
fn clone(&self) -> hipPointerAttribute_t
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 hipPointerAttribute_t
impl Debug for hipPointerAttribute_t
impl Copy for hipPointerAttribute_t
Auto Trait Implementations§
impl Freeze for hipPointerAttribute_t
impl RefUnwindSafe for hipPointerAttribute_t
impl !Send for hipPointerAttribute_t
impl !Sync for hipPointerAttribute_t
impl Unpin for hipPointerAttribute_t
impl UnwindSafe for hipPointerAttribute_t
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