#[repr(C)]pub struct AVTimecode {
pub start: c_int,
pub flags: u32,
pub rate: AVRational,
pub fps: c_uint,
}Fields§
§start: c_int< timecode frame start (first base frame number)
flags: u32< flags such as drop frame, +24 hours support, …
rate: AVRational< frame rate in rational form
fps: c_uint< frame per second; must be consistent with the rate field
trait 实现§
源代码§impl Clone for AVTimecode
impl Clone for AVTimecode
源代码§fn clone(&self) -> AVTimecode
fn clone(&self) -> AVTimecode
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 AVTimecode
impl PartialEq for AVTimecode
impl Copy for AVTimecode
impl Eq for AVTimecode
impl StructuralPartialEq for AVTimecode
自动 trait 实现§
impl Freeze for AVTimecode
impl RefUnwindSafe for AVTimecode
impl Send for AVTimecode
impl Sync for AVTimecode
impl Unpin for AVTimecode
impl UnsafeUnpin for AVTimecode
impl UnwindSafe for AVTimecode
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
从拥有的值可变地借用。 阅读更多