Trait snarkos_metrics::IntoF64[][src]

pub trait IntoF64 {
    fn into_f64(self) -> f64;
}
Expand description

An object which can be converted into a f64 representation.

This trait provides a mechanism for existing types, which have a natural representation as a 64-bit floating-point number, to be transparently passed in when recording a histogram.

Required methods

Converts this object to its f64 representation.

Implementations on Foreign Types

Implementors