pub struct EncodedAudioPacket {
pub bitstream: Vec<u8>,
pub presentation_frame: i64,
pub duration_frames: u32,
}Expand description
One encoded elementary-stream packet with frame-domain timing.
Fields§
§bitstream: Vec<u8>Encoded packet bytes.
presentation_frame: i64Zero-based input frame corresponding to the packet’s first sample.
duration_frames: u32Number of interleaved frames represented by the packet.
Trait Implementations§
Source§impl Clone for EncodedAudioPacket
impl Clone for EncodedAudioPacket
Source§impl Debug for EncodedAudioPacket
impl Debug for EncodedAudioPacket
impl Eq for EncodedAudioPacket
Source§impl PartialEq for EncodedAudioPacket
impl PartialEq for EncodedAudioPacket
impl StructuralPartialEq for EncodedAudioPacket
Auto Trait Implementations§
impl Forget for EncodedAudioPacket
impl Freeze for EncodedAudioPacket
impl Move for EncodedAudioPacket
impl RefUnwindSafe for EncodedAudioPacket
impl Send for EncodedAudioPacket
impl Sync for EncodedAudioPacket
impl Unpin for EncodedAudioPacket
impl UnsafeUnpin for EncodedAudioPacket
impl UnwindSafe for EncodedAudioPacket
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