[][src]Trait fts_units::ratio::Ratio

pub trait Ratio {
    fn numerator() -> i64;
fn denominator() -> i64; }

Helper to faciliate working with Ratio types generically.

Required methods

fn numerator() -> i64

fn denominator() -> i64

Loading content...

Implementors

impl Ratio for RatioZero[src]

impl<NUM, DEN> Ratio for RatioT<NUM, DEN> where
    NUM: Integer + NonZero,
    DEN: Integer + NonZero
[src]

Loading content...