pub struct PowerLimits {
pub min: u32,
pub max: u32,
}Fields§
§min: u32§max: u32Trait Implementations§
Source§impl Clone for PowerLimits
impl Clone for PowerLimits
Source§fn clone(&self) -> PowerLimits
fn clone(&self) -> PowerLimits
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 PowerLimits
impl Debug for PowerLimits
Source§impl Hash for PowerLimits
impl Hash for PowerLimits
Source§impl PartialEq for PowerLimits
impl PartialEq for PowerLimits
Source§fn eq(&self, other: &PowerLimits) -> bool
fn eq(&self, other: &PowerLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PowerLimits
impl Eq for PowerLimits
impl StructuralPartialEq for PowerLimits
Auto Trait Implementations§
impl Freeze for PowerLimits
impl RefUnwindSafe for PowerLimits
impl Send for PowerLimits
impl Sync for PowerLimits
impl Unpin for PowerLimits
impl UnsafeUnpin for PowerLimits
impl UnwindSafe for PowerLimits
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