Struct av_metrics::video::decode::Rational
source · #[repr(C)]pub struct Rational {
pub num: u64,
pub den: u64,
}
Expand description
A rational number.
Fields§
§num: u64
Numerator.
den: u64
Denominator.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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