Struct exif::SRational[][src]

pub struct SRational {
    pub num: i32,
    pub denom: i32,
}

A signed rational number, which is a pair of 32-bit signed integers.

Fields

Methods

impl SRational
[src]

Converts the value to an f64.

Trait Implementations

impl Copy for SRational
[src]

impl Clone for SRational
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SRational
[src]

Formats the value using the given formatter. Read more

impl Display for SRational
[src]

Formatting parameters other than width are not supported.

impl From<SRational> for f64
[src]

Performs the conversion.

impl From<SRational> for f32
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SRational

impl Sync for SRational