Struct nvml_wrapper::structs::device::EccModeState
source · pub struct EccModeState {
pub currently_enabled: bool,
pub pending_enabled: bool,
}
Expand description
Returned from Device.is_ecc_enabled()
Fields§
§currently_enabled: bool
§pending_enabled: bool
Trait Implementations§
source§impl Clone for EccModeState
impl Clone for EccModeState
source§fn clone(&self) -> EccModeState
fn clone(&self) -> EccModeState
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 EccModeState
impl Debug for EccModeState
source§impl Hash for EccModeState
impl Hash for EccModeState
source§impl PartialEq for EccModeState
impl PartialEq for EccModeState
source§fn eq(&self, other: &EccModeState) -> bool
fn eq(&self, other: &EccModeState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EccModeState
impl StructuralPartialEq for EccModeState
Auto Trait Implementations§
impl RefUnwindSafe for EccModeState
impl Send for EccModeState
impl Sync for EccModeState
impl Unpin for EccModeState
impl UnwindSafe for EccModeState
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