pub struct DecibelMilliWatt(pub i8);
Tuple Fields§
§0: i8
Trait Implementations§
Source§impl Add for DecibelMilliWatt
impl Add for DecibelMilliWatt
Source§impl AddAssign for DecibelMilliWatt
impl AddAssign for DecibelMilliWatt
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl Clone for DecibelMilliWatt
impl Clone for DecibelMilliWatt
Source§fn clone(&self) -> DecibelMilliWatt
fn clone(&self) -> DecibelMilliWatt
Returns a copy 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 DecibelMilliWatt
impl Debug for DecibelMilliWatt
Source§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<DecibelMilliWatt> for i8
impl From<DecibelMilliWatt> for i8
Source§fn from(dbm: DecibelMilliWatt) -> i8
fn from(dbm: DecibelMilliWatt) -> i8
Converts to this type from the input type.
Source§impl From<FemtoWatt> for DecibelMilliWatt
impl From<FemtoWatt> for DecibelMilliWatt
Source§impl Hash for DecibelMilliWatt
impl Hash for DecibelMilliWatt
Source§impl PartialEq for DecibelMilliWatt
impl PartialEq for DecibelMilliWatt
Source§impl PartialOrd for DecibelMilliWatt
impl PartialOrd for DecibelMilliWatt
Source§impl Sub for DecibelMilliWatt
impl Sub for DecibelMilliWatt
Source§impl SubAssign for DecibelMilliWatt
impl SubAssign for DecibelMilliWatt
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for DecibelMilliWatt
impl Eq for DecibelMilliWatt
impl StructuralPartialEq for DecibelMilliWatt
Auto Trait Implementations§
impl Freeze for DecibelMilliWatt
impl RefUnwindSafe for DecibelMilliWatt
impl Send for DecibelMilliWatt
impl Sync for DecibelMilliWatt
impl Unpin for DecibelMilliWatt
impl UnwindSafe for DecibelMilliWatt
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
)