#[repr(transparent)]pub struct CUdeviceptr(pub u64);Expand description
A device-side virtual address. 64-bit on every platform baracuda supports (CUDA 4.0+).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for CUdeviceptr
impl Clone for CUdeviceptr
Source§fn clone(&self) -> CUdeviceptr
fn clone(&self) -> CUdeviceptr
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 CUdeviceptr
impl Debug for CUdeviceptr
Source§impl Default for CUdeviceptr
impl Default for CUdeviceptr
Source§fn default() -> CUdeviceptr
fn default() -> CUdeviceptr
Returns the “default value” for a type. Read more
Source§impl Hash for CUdeviceptr
impl Hash for CUdeviceptr
Source§impl Ord for CUdeviceptr
impl Ord for CUdeviceptr
Source§fn cmp(&self, other: &CUdeviceptr) -> Ordering
fn cmp(&self, other: &CUdeviceptr) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CUdeviceptr
impl PartialEq for CUdeviceptr
Source§fn eq(&self, other: &CUdeviceptr) -> bool
fn eq(&self, other: &CUdeviceptr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CUdeviceptr
impl PartialOrd for CUdeviceptr
impl Copy for CUdeviceptr
impl DeviceRepr for CUdeviceptr
impl Eq for CUdeviceptr
impl StructuralPartialEq for CUdeviceptr
Auto Trait Implementations§
impl Freeze for CUdeviceptr
impl RefUnwindSafe for CUdeviceptr
impl Send for CUdeviceptr
impl Sync for CUdeviceptr
impl Unpin for CUdeviceptr
impl UnsafeUnpin for CUdeviceptr
impl UnwindSafe for CUdeviceptr
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