Type Alias Rational

Source
pub type Rational = Rational64;
Expand description

The rational value type used throughout the library to represent a point along a single dimension.

Aliased Type§

struct Rational { /* private fields */ }

Trait Implementations§

Source§

impl One for Rational

Source§

const ONE: Self

Source§

impl ToF64Lossy for Rational

Source§

fn to_f64_lossy(self) -> f64

Convert to a lossy representation of the same value.