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: u32Trait Implementations§
Source§impl Clone for PowerManagementConstraints
impl Clone for PowerManagementConstraints
Source§fn clone(&self) -> PowerManagementConstraints
fn clone(&self) -> PowerManagementConstraints
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 PowerManagementConstraints
impl Debug for PowerManagementConstraints
impl Eq 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
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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