pub struct Rational(pub i32, pub i32);Tuple Fields§
§0: i32§1: i32Implementations§
Trait Implementations§
impl Copy for Rational
impl Eq for Rational
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.
Auto Trait Implementations§
impl Freeze for Rational
impl RefUnwindSafe for Rational
impl Send for Rational
impl Sync for Rational
impl Unpin for Rational
impl UnsafeUnpin 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