#[repr(C)]pub struct AVPacket {Show 14 fields
pub buf: *mut AVBufferRef,
pub pts: i64,
pub dts: i64,
pub data: *mut u8,
pub size: c_int,
pub stream_index: c_int,
pub flags: c_int,
pub side_data: *mut AVPacketSideData,
pub side_data_elems: c_int,
pub duration: i64,
pub pos: i64,
pub opaque: *mut c_void,
pub opaque_ref: *mut AVBufferRef,
pub time_base: AVRational,
}
Fields§
§buf: *mut AVBufferRef
§pts: i64
§dts: i64
§data: *mut u8
§size: c_int
§stream_index: c_int
§flags: c_int
§side_data: *mut AVPacketSideData
§side_data_elems: c_int
§duration: i64
§pos: i64
§opaque: *mut c_void
§opaque_ref: *mut AVBufferRef
§time_base: AVRational
Trait Implementations§
impl Copy for AVPacket
Auto Trait Implementations§
impl RefUnwindSafe for AVPacket
impl !Send for AVPacket
impl !Sync for AVPacket
impl Unpin for AVPacket
impl UnwindSafe for AVPacket
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