Struct ffmpeg_next::util::rational::Rational
source · pub struct Rational(pub i32, pub i32);Tuple Fields§
§0: i32§1: i32Implementations§
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 for Rational
impl PartialEq for Rational
source§impl PartialOrd for Rational
impl PartialOrd 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 moreimpl Copy for Rational
impl Eq for Rational
Auto Trait Implementations§
impl Freeze for Rational
impl RefUnwindSafe for Rational
impl Send for Rational
impl Sync for Rational
impl Unpin for Rational
impl UnwindSafe for Rational
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)