pub struct DevicePtr(pub u64);Expand description
Opaque device pointer wrapping a CUDA CUdeviceptr (u64).
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for DevicePtr
impl Eq for DevicePtr
impl StructuralPartialEq for DevicePtr
Auto Trait Implementations§
impl Freeze for DevicePtr
impl RefUnwindSafe for DevicePtr
impl Send for DevicePtr
impl Sync for DevicePtr
impl Unpin for DevicePtr
impl UnwindSafe for DevicePtr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.