/// A fraction `p`/`q` with integers `p` and `q`.
////// `p` is called the numerator and `q` is called the denominator.
pubtraitFraction<T>: Sized {/// Returns the numerator `p`
fnnumerator(&self)-> T;/// Returns the denominator `q`
fndenominator(&self)-> T;/// Returns the multiplicative inverse `q/p` for fraction `p/q`.
////// If `p` is zero, None is returned.
fninv(&self)->Option<Self>;}