Trait metrics::NumberType

source ·
pub trait NumberType: Limits + Div<u64, Output = Self> + Add<Output = Self> + Clone + Ord + PartialOrd + Debug + Sub<Self> {
    // Required method
    fn as_f64(&self) -> f64;
}

Required Methods§

source

fn as_f64(&self) -> f64

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NumberType for u64

source§

fn as_f64(&self) -> f64

Implementors§