Type Definition Rational32
slp
type Rational32 = Ratio<i32>;
Alias for a Ratio of 32-bit-sized integers.
Ratio
impl Number for Rational32
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.