fn setInt(self: *Rational, a: anytype) !void

Set a Rational from a primitive integer type.

Parameters

self: *Rational,
a: anytype,