pub struct PointerAttributes {
pub memory_type: MemoryType,
pub device: i32,
pub device_pointer: *mut c_void,
pub host_pointer: *mut c_void,
}Expand description
Typed view over cudaPointerAttributes.
Fields§
§memory_type: MemoryType§device: i32§device_pointer: *mut c_void§host_pointer: *mut c_voidTrait Implementations§
Source§impl Clone for PointerAttributes
impl Clone for PointerAttributes
Source§fn clone(&self) -> PointerAttributes
fn clone(&self) -> PointerAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PointerAttributes
impl Debug for PointerAttributes
impl Copy for PointerAttributes
Auto Trait Implementations§
impl Freeze for PointerAttributes
impl RefUnwindSafe for PointerAttributes
impl !Send for PointerAttributes
impl !Sync for PointerAttributes
impl Unpin for PointerAttributes
impl UnsafeUnpin for PointerAttributes
impl UnwindSafe for PointerAttributes
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