Struct nvml_wrapper::structs::device::CudaComputeCapability
source · pub struct CudaComputeCapability {
pub major: i32,
pub minor: i32,
}
Expand description
Returned from Device.cuda_compute_capability()
Fields§
§major: i32
§minor: i32
Trait Implementations§
source§impl Clone for CudaComputeCapability
impl Clone for CudaComputeCapability
source§fn clone(&self) -> CudaComputeCapability
fn clone(&self) -> CudaComputeCapability
Returns a copy of the value. Read more
1.0.0 · 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 CudaComputeCapability
impl Debug for CudaComputeCapability
source§impl Hash for CudaComputeCapability
impl Hash for CudaComputeCapability
source§impl PartialEq for CudaComputeCapability
impl PartialEq for CudaComputeCapability
source§fn eq(&self, other: &CudaComputeCapability) -> bool
fn eq(&self, other: &CudaComputeCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CudaComputeCapability
impl StructuralPartialEq for CudaComputeCapability
Auto Trait Implementations§
impl RefUnwindSafe for CudaComputeCapability
impl Send for CudaComputeCapability
impl Sync for CudaComputeCapability
impl Unpin for CudaComputeCapability
impl UnwindSafe for CudaComputeCapability
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