Struct exif::Rational [] [src]

pub struct Rational {
    pub num: u32,
    pub denom: u32,
}

An unsigned rational number, which is a pair of 32-bit unsigned integers.

Fields

Methods

impl Rational
[src]

[src]

Converts the value to an f64.

Trait Implementations

impl Copy for Rational
[src]

impl Clone for Rational
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rational
[src]

[src]

Formats the value using the given formatter.

impl Display for Rational
[src]

[src]

Formatting parameters other than width are not supported.