Type Alias num_rational::Rational
source · pub type Rational = Ratio<isize>;
👎Deprecated since 0.4.0: it’s better to use a specific size, like
Rational32
or Rational64
Expand description
Alias for a Ratio
of machine-sized integers.
Aliased Type§
struct Rational {
pub(crate) numer: isize,
pub(crate) denom: isize,
}
Fields§
§numer: isize
Numerator.
denom: isize
Denominator.