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 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 Freeze for FemtoWatt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)