Struct sp_arithmetic::rational::RationalInfinite [−][src]
pub struct RationalInfinite(_, _);
A wrapper for any rational number with infinitely large numerator and denominator.
This type exists to facilitate cmp
operation
on values like a/b < c/d
where a, b, c, d
are all BigUint
.
Implementations
impl RationalInfinite
[src]
impl RationalInfinite
[src]Trait Implementations
impl Clone for RationalInfinite
[src]
impl Clone for RationalInfinite
[src]fn clone(&self) -> RationalInfinite
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for RationalInfinite
[src]
impl Default for RationalInfinite
[src]fn default() -> RationalInfinite
[src]
impl From<Rational128> for RationalInfinite
[src]
impl From<Rational128> for RationalInfinite
[src]fn from(t: Rational128) -> Self
[src]
impl Ord for RationalInfinite
[src]
impl Ord for RationalInfinite
[src]impl PartialEq<RationalInfinite> for RationalInfinite
[src]
impl PartialEq<RationalInfinite> for RationalInfinite
[src]impl PartialOrd<RationalInfinite> for RationalInfinite
[src]
impl PartialOrd<RationalInfinite> for RationalInfinite
[src]impl Eq for RationalInfinite
[src]
impl StructuralEq for RationalInfinite
[src]
Auto Trait Implementations
impl RefUnwindSafe for RationalInfinite
impl Send for RationalInfinite
impl Sync for RationalInfinite
impl Unpin for RationalInfinite
impl UnwindSafe for RationalInfinite
Blanket Implementations
impl<T> SaturatedConversion for T
[src]
impl<T> SaturatedConversion for T
[src]fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]