Struct ffmpeg::util::rational::Rational [] [src]

pub struct Rational(pub i32, pub i32);

Methods

impl Rational
[src]

[src]

[src]

[src]

[src]

[src]

[src]

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 From<AVRational> for Rational
[src]

[src]

Performs the conversion.

impl Into<AVRational> for Rational
[src]

[src]

Performs the conversion.

impl From<f64> for Rational
[src]

[src]

Performs the conversion.

impl From<Rational> for f64
[src]

[src]

Performs the conversion.

impl From<Rational> for u32
[src]

[src]

Performs the conversion.

impl From<(i32, i32)> for Rational
[src]

[src]

Performs the conversion.

impl PartialEq for Rational
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Rational
[src]

impl PartialOrd for Rational
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Add for Rational
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for Rational
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul for Rational
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div for Rational
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Display for Rational
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for Rational
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Rational

impl Sync for Rational