pub struct AccessUnitBuilder { /* private fields */ }
Implementations§
Source§impl AccessUnitBuilder
impl AccessUnitBuilder
pub fn new() -> Self
pub fn is_au_boundary( &self, nal: &Nal, slice_header: Option<&SliceHeader>, sps: Option<&Sps>, ) -> bool
pub fn add_nal( &mut self, nal: Nal, slice_header: Option<SliceHeader>, sps: Option<Arc<Sps>>, pps: Option<Arc<Pps>>, ) -> Option<AccessUnit>
pub fn flush(self) -> Option<AccessUnit>
pub fn flush_pending(&mut self) -> Option<AccessUnit>
Auto Trait Implementations§
impl Freeze for AccessUnitBuilder
impl RefUnwindSafe for AccessUnitBuilder
impl Send for AccessUnitBuilder
impl Sync for AccessUnitBuilder
impl Unpin for AccessUnitBuilder
impl UnwindSafe for AccessUnitBuilder
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