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
impl Eq for PowerManagementConstraints
impl StructuralPartialEq for PowerManagementConstraints
Auto Trait Implementations§
impl Freeze for PowerManagementConstraints
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