Trait statistics::ToReal [] [src]

pub trait ToReal<T: Real> {
    fn to_real(&self) -> T;
}

A means of converting an arbitrary quantity to a real number.

Required Methods

fn to_real(&self) -> T

Convert to a real number.

Implementors