pub struct Rational(pub i32, pub i32);Tuple Fields§
§0: i32§1: i32实现§
trait 实现§
源代码§impl From<AVRational> for Rational
impl From<AVRational> for Rational
源代码§fn from(value: AVRational) -> Rational
fn from(value: AVRational) -> Rational
Converts to this type from the input type.
源代码§impl From<Rational> for AVRational
impl From<Rational> for AVRational
源代码§fn from(value: Rational) -> AVRational
fn from(value: Rational) -> AVRational
Converts to this type from the input type.
impl Copy for Rational
impl Eq for Rational
自动 trait 实现§
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 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多