Struct wlan_common::energy::FemtoWatt
source · pub struct FemtoWatt(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
source§impl AddAssign for FemtoWatt
impl AddAssign for FemtoWatt
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl From<DecibelMilliWatt> for FemtoWatt
impl From<DecibelMilliWatt> for FemtoWatt
source§fn from(dbm: DecibelMilliWatt) -> Self
fn from(dbm: DecibelMilliWatt) -> Self
Converts dBm to femtoWatts by approximation.
FemtoWatts are approximated and within a maximum relative error of < 3% for dBm inputs in the range [-100, 48]. Inputs must lay within [-120, 48] dBm.
Resulting femtoWatts are always less than 2^56.
source§impl From<FemtoWatt> for DecibelMilliWatt
impl From<FemtoWatt> for DecibelMilliWatt
source§impl PartialEq for FemtoWatt
impl PartialEq for FemtoWatt
source§impl SubAssign for FemtoWatt
impl SubAssign for FemtoWatt
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for FemtoWatt
impl StructuralPartialEq for FemtoWatt
Auto Trait Implementations§
impl RefUnwindSafe for FemtoWatt
impl Send for FemtoWatt
impl Sync for FemtoWatt
impl Unpin for FemtoWatt
impl UnwindSafe for FemtoWatt
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