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.



impl SRational

Converts the value to an f64.

Trait Implementations

impl Copy for SRational

impl Clone for SRational

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SRational

Formats the value using the given formatter. Read more

impl Display for SRational

Formatting parameters other than width are not supported.

impl From<SRational> for f64

Performs the conversion.

impl From<SRational> for f32

Performs the conversion.

Auto Trait Implementations

impl Send for SRational

impl Sync for SRational