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]

Converts the value to an f64.

Trait Implementations

impl Copy for Rational
[src]

impl Clone for Rational
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Rational
[src]

Formats the value using the given formatter. Read more

impl Display for Rational
[src]

Formatting parameters other than width are not supported.

impl From<Rational> for f64
[src]

Performs the conversion.

impl From<Rational> for f32
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Rational

impl Sync for Rational