Struct ffmpeg_the_third::util::rational::Rational
source · pub struct Rational(pub i32, pub i32);
Tuple Fields§
§0: i32
§1: i32
Implementations§
Trait Implementations§
source§impl From<AVRational> for Rational
impl From<AVRational> for Rational
source§fn from(value: AVRational) -> Rational
fn from(value: AVRational) -> Rational
Converts to this type from the input type.
source§impl From<Rational> for AVRational
impl From<Rational> for AVRational
source§fn from(value: Rational) -> AVRational
fn from(value: Rational) -> AVRational
Converts to this type from the input type.
source§impl PartialEq<Rational> for Rational
impl PartialEq<Rational> for Rational
source§impl PartialOrd<Rational> for Rational
impl PartialOrd<Rational> for Rational
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more