pub struct H26xSample {
pub data: Bytes,
pub timed: bool,
}Expand description
One access unit read from an Annex B stream — the NAL units making up a single frame.
Fields§
§data: BytesThe sample’s bytes, start codes included.
timed: boolWhether this sample advances presentation time, i.e. completes a frame.
Trait Implementations§
Source§impl Clone for H26xSample
impl Clone for H26xSample
Source§fn clone(&self) -> H26xSample
fn clone(&self) -> H26xSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for H26xSample
impl Debug for H26xSample
impl Eq for H26xSample
Source§impl PartialEq for H26xSample
impl PartialEq for H26xSample
impl StructuralPartialEq for H26xSample
Auto Trait Implementations§
impl !Freeze for H26xSample
impl RefUnwindSafe for H26xSample
impl Send for H26xSample
impl Sync for H26xSample
impl Unpin for H26xSample
impl UnsafeUnpin for H26xSample
impl UnwindSafe for H26xSample
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