pub struct ConfComputeSystemCaps {
pub cpu_caps: u32,
pub gpus_caps: u32,
}Fields§
§cpu_caps: u32§gpus_caps: u32Trait Implementations§
Source§impl Clone for ConfComputeSystemCaps
impl Clone for ConfComputeSystemCaps
Source§fn clone(&self) -> ConfComputeSystemCaps
fn clone(&self) -> ConfComputeSystemCaps
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 ConfComputeSystemCaps
impl Debug for ConfComputeSystemCaps
Source§impl From<nvmlConfComputeSystemCaps_st> for ConfComputeSystemCaps
impl From<nvmlConfComputeSystemCaps_st> for ConfComputeSystemCaps
Source§fn from(value: nvmlConfComputeSystemCaps_t) -> Self
fn from(value: nvmlConfComputeSystemCaps_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ConfComputeSystemCaps
impl Hash for ConfComputeSystemCaps
Source§impl PartialEq for ConfComputeSystemCaps
impl PartialEq for ConfComputeSystemCaps
Source§fn eq(&self, other: &ConfComputeSystemCaps) -> bool
fn eq(&self, other: &ConfComputeSystemCaps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ConfComputeSystemCaps
impl Eq for ConfComputeSystemCaps
impl StructuralPartialEq for ConfComputeSystemCaps
Auto Trait Implementations§
impl Freeze for ConfComputeSystemCaps
impl RefUnwindSafe for ConfComputeSystemCaps
impl Send for ConfComputeSystemCaps
impl Sync for ConfComputeSystemCaps
impl Unpin for ConfComputeSystemCaps
impl UnsafeUnpin for ConfComputeSystemCaps
impl UnwindSafe for ConfComputeSystemCaps
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