Type Definition Rational
slp
type Rational = Ratio<isize>;
Alias for a Ratio of machine-sized integers.
Ratio
impl Number for Rational
fn floor(&self) -> Self
Returns greatest integer less than or equal to.
fn ceil(&self) -> Self
Returns least integer greater than or equal to.
fn is_integer(&self) -> bool
Checks if it is an integer.