pub struct Milliwatts(pub u32);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for Milliwatts
impl Clone for Milliwatts
Source§fn clone(&self) -> Milliwatts
fn clone(&self) -> Milliwatts
Returns a duplicate 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 Milliwatts
impl Debug for Milliwatts
Source§impl Default for Milliwatts
impl Default for Milliwatts
Source§fn default() -> Milliwatts
fn default() -> Milliwatts
Returns the “default value” for a type. Read more
Source§impl Ord for Milliwatts
impl Ord for Milliwatts
Source§fn cmp(&self, other: &Milliwatts) -> Ordering
fn cmp(&self, other: &Milliwatts) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Milliwatts
impl PartialEq for Milliwatts
Source§impl PartialOrd for Milliwatts
impl PartialOrd for Milliwatts
impl Copy for Milliwatts
impl Eq for Milliwatts
impl StructuralPartialEq for Milliwatts
Auto Trait Implementations§
impl Freeze for Milliwatts
impl RefUnwindSafe for Milliwatts
impl Send for Milliwatts
impl Sync for Milliwatts
impl Unpin for Milliwatts
impl UnsafeUnpin for Milliwatts
impl UnwindSafe for Milliwatts
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