Struct exif::Rational [−][src]
An unsigned rational number, which is a pair of 32-bit unsigned integers.
Fields
num: u32
denom: u32
Methods
impl Rational
[src]
impl Rational
Trait Implementations
impl Copy for Rational
[src]
impl Copy for Rational
impl Clone for Rational
[src]
impl Clone for Rational
fn clone(&self) -> Rational
[src]
fn clone(&self) -> Rational
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Rational
[src]
impl Debug for Rational
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Rational
[src]
impl Display for Rational
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formatting parameters other than width are not supported.
impl From<Rational> for f64
[src]
impl From<Rational> for f64
impl From<Rational> for f32
[src]
impl From<Rational> for f32