Struct kn_cuda_sys::wrapper::handle::ComputeCapability
source · pub struct ComputeCapability {
pub major: i32,
pub minor: i32,
}Fields§
§major: i32§minor: i32Trait Implementations§
source§impl Clone for ComputeCapability
impl Clone for ComputeCapability
source§fn clone(&self) -> ComputeCapability
fn clone(&self) -> ComputeCapability
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 ComputeCapability
impl Debug for ComputeCapability
source§impl Hash for ComputeCapability
impl Hash for ComputeCapability
source§impl PartialEq for ComputeCapability
impl PartialEq for ComputeCapability
source§fn eq(&self, other: &ComputeCapability) -> bool
fn eq(&self, other: &ComputeCapability) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ComputeCapability
impl Eq for ComputeCapability
impl StructuralEq for ComputeCapability
impl StructuralPartialEq for ComputeCapability
Auto Trait Implementations§
impl RefUnwindSafe for ComputeCapability
impl Send for ComputeCapability
impl Sync for ComputeCapability
impl Unpin for ComputeCapability
impl UnwindSafe for ComputeCapability
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