Struct h264_stream::H264Chunk
source · pub struct H264Chunk<'a> {
pub nal_kind: Option<H264NalKind>,
pub data: &'a [u8],
}
Fields§
§nal_kind: Option<H264NalKind>
Only NonIDR, IDR are used, or not set if last data in file needs to be emitted but IDR or NonIDR wasn’t last in the file.
data: &'a [u8]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for H264Chunk<'a>
impl<'a> RefUnwindSafe for H264Chunk<'a>
impl<'a> Send for H264Chunk<'a>
impl<'a> Sync for H264Chunk<'a>
impl<'a> Unpin for H264Chunk<'a>
impl<'a> UnwindSafe for H264Chunk<'a>
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