pub struct AsfPayload {
pub stream_number: u8,
pub object_id: u32,
pub obj_offset: u32,
pub obj_size: u32,
pub pts_ms: u32,
pub duration_ms: u16,
pub is_key_frame: bool,
pub data: Vec<u8>,
}Fields§
§stream_number: u8§object_id: u32§obj_offset: u32§obj_size: u32§pts_ms: u32§duration_ms: u16§is_key_frame: bool§data: Vec<u8>Trait Implementations§
Source§impl Clone for AsfPayload
impl Clone for AsfPayload
Source§fn clone(&self) -> AsfPayload
fn clone(&self) -> AsfPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AsfPayload
impl RefUnwindSafe for AsfPayload
impl Send for AsfPayload
impl Sync for AsfPayload
impl Unpin for AsfPayload
impl UnwindSafe for AsfPayload
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