Struct nvml_wrapper::structs::device::OperationModeState
source · [−]pub struct OperationModeState {
pub current: OperationMode,
pub pending: OperationMode,
}Expand description
Returned from Device.gpu_operation_mode()
Fields
current: OperationModepending: OperationModeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OperationModeState
impl Send for OperationModeState
impl Sync for OperationModeState
impl Unpin for OperationModeState
impl UnwindSafe for OperationModeState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more