pub struct PointerAttributes {
pub memory_type: MemoryType,
pub device: i32,
pub device_pointer: DevicePtr,
pub host_pointer: *mut (),
}Fields§
§memory_type: MemoryType§device: i32§device_pointer: DevicePtr§host_pointer: *mut ()Trait 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 moreimpl Copy for PointerAttributes
Source§impl Debug for PointerAttributes
impl Debug for PointerAttributes
impl Eq for PointerAttributes
Source§impl From<cudaPointerAttributes> for PointerAttributes
impl From<cudaPointerAttributes> for PointerAttributes
Source§fn from(attr: cudaPointerAttributes) -> Self
fn from(attr: cudaPointerAttributes) -> Self
Converts to this type from the input type.
Source§impl Hash for PointerAttributes
impl Hash for PointerAttributes
Source§impl PartialEq for PointerAttributes
impl PartialEq for PointerAttributes
Source§fn eq(&self, other: &PointerAttributes) -> bool
fn eq(&self, other: &PointerAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointerAttributes
Auto Trait Implementations§
impl !Send for PointerAttributes
impl !Sync for PointerAttributes
impl Freeze for PointerAttributes
impl RefUnwindSafe 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