fn copyInt(self: *Rational, a: Int) !void

Set a Rational directly from an Int.

Parameters

self: *Rational,
a: Int,