pub struct Decibits(pub u16);Expand description
Entropy scaled x10: [0, 640] maps to [0.0, 64.0] bits. Used for: Shannon entropy measurements.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Decibits
impl<'de> Deserialize<'de> for Decibits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Decibits
impl Ord for Decibits
Source§impl PartialOrd for Decibits
impl PartialOrd for Decibits
impl Copy for Decibits
impl Eq for Decibits
impl StructuralPartialEq for Decibits
Auto Trait Implementations§
impl Freeze for Decibits
impl RefUnwindSafe for Decibits
impl Send for Decibits
impl Sync for Decibits
impl Unpin for Decibits
impl UnsafeUnpin for Decibits
impl UnwindSafe for Decibits
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