#[repr(transparent)]pub struct CUdevice(pub i32);Expand description
Ordinal of a CUDA device. cuDeviceGet(&dev, ordinal) yields one of these.
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Ord for CUdevice
impl Ord for CUdevice
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 PartialOrd for CUdevice
impl PartialOrd for CUdevice
impl Copy for CUdevice
impl DeviceRepr for CUdevice
impl Eq for CUdevice
impl StructuralPartialEq for CUdevice
Auto Trait Implementations§
impl Freeze for CUdevice
impl RefUnwindSafe for CUdevice
impl Send for CUdevice
impl Sync for CUdevice
impl Unpin for CUdevice
impl UnsafeUnpin for CUdevice
impl UnwindSafe for CUdevice
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