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