#[repr(C)]pub struct AVRational {
pub num: c_int,
pub den: c_int,
}展开描述
Rational number (pair of numerator and denominator).
Fields§
§num: c_int< Numerator
den: c_int< Denominator
trait 实现§
源代码§impl Clone for AVRational
impl Clone for AVRational
源代码§fn clone(&self) -> AVRational
fn clone(&self) -> AVRational
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl PartialEq for AVRational
impl PartialEq for AVRational
impl Copy for AVRational
impl Eq for AVRational
impl StructuralPartialEq for AVRational
自动 trait 实现§
impl Freeze for AVRational
impl RefUnwindSafe for AVRational
impl Send for AVRational
impl Sync for AVRational
impl Unpin for AVRational
impl UnsafeUnpin for AVRational
impl UnwindSafe for AVRational
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
从拥有的值可变地借用。 阅读更多