Struct rug::rational::ValidRational [] [src]

pub struct ValidRational<'a> { /* fields omitted */ }
Deprecated since 0.10.0

: use the Rational::parse_radix method instead of Rational::valid_str_radix, and if for example you were storing the returned object in a struct, convert into a Rational before storing.

A validated string that can always be converted to a Rational number.

Trait Implementations

impl<'a> Clone for ValidRational<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ValidRational<'a>
[src]

[src]

Formats the value using the given formatter.