[][src]Struct py_marshal::HashF64

pub struct HashF64(_);

This is a f64 wrapper suitable for use as a key in a (Hash)Map, since NaNs compare equal to each other, so it can implement Eq and Hash. HashF64(-0.0) == HashF64(0.0).

Trait Implementations

impl Clone for HashF64[src]

impl Debug for HashF64[src]

impl Eq for HashF64[src]

impl Hash for HashF64[src]

impl PartialEq<HashF64> for HashF64[src]

Auto Trait Implementations

impl RefUnwindSafe for HashF64

impl Send for HashF64

impl Sync for HashF64

impl Unpin for HashF64

impl UnwindSafe for HashF64

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.