pub struct Double(pub f64);Expand description
Tuple Fields§
§0: f64Trait Implementations§
impl Copy for Double
Source§impl<'de> Deserialize<'de> for Double
impl<'de> Deserialize<'de> for Double
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 Hash for Double
Hashing string representation.
impl Hash for Double
Hashing string representation.
Some people believe that such behavior is incorrect (but in some programming
languages this is a default behavior) due to NaN, Inf or -Inf (they
all will have the same hashes).
But in the case of RtcStat received from the client, there should be no
such situations, and the hash will always be correct.
Auto Trait Implementations§
impl Freeze for Double
impl RefUnwindSafe for Double
impl Send for Double
impl Sync for Double
impl Unpin for Double
impl UnsafeUnpin for Double
impl UnwindSafe for Double
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