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