Struct AVRational
#[repr(C)]pub struct AVRational {
pub num: i32,
pub den: i32,
}
Fields§
§num: i32
§den: i32
Trait Implementations§
§impl Clone for AVRational
impl Clone for AVRational
§fn clone(&self) -> AVRational
fn clone(&self) -> AVRational
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVRational
impl Debug for AVRational
Source§impl From<AVRational> for Rational
impl From<AVRational> for Rational
Source§fn from(rational: AVRational) -> Self
fn from(rational: AVRational) -> Self
Converts to this type from the input type.
Source§impl From<Rational> for AVRational
impl From<Rational> for AVRational
impl Copy for AVRational
Auto Trait Implementations§
impl Freeze for AVRational
impl RefUnwindSafe for AVRational
impl Send for AVRational
impl Sync for AVRational
impl Unpin for AVRational
impl UnwindSafe for AVRational
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