pub struct CudaComputeCapability {
pub major: i32,
pub minor: i32,
}Expand description
Returned from Device.cuda_compute_capability()
Fields§
§major: i32§minor: i32Trait Implementations§
Source§impl Clone for CudaComputeCapability
impl Clone for CudaComputeCapability
Source§fn clone(&self) -> CudaComputeCapability
fn clone(&self) -> CudaComputeCapability
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 CudaComputeCapability
impl Debug for CudaComputeCapability
impl Eq 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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CudaComputeCapability
Auto Trait Implementations§
impl Freeze for CudaComputeCapability
impl RefUnwindSafe for CudaComputeCapability
impl Send for CudaComputeCapability
impl Sync for CudaComputeCapability
impl Unpin for CudaComputeCapability
impl UnsafeUnpin 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