pub enum RandomAccess {
Yes,
No,
Unknown,
}Expand description
What the container says about random access at a packet.
This is container evidence (an MP4 sync sample, a WebM SimpleBlock
keyframe flag, a cue point), not a codec’s keyframe flag: an AV1 key
frame that needs an earlier sequence header, or one shown later through
show-existing, is not a random-access point by itself. Unknown is
common (IVF records nothing) and never treated as Yes.
Variants§
Trait Implementations§
Source§impl Clone for RandomAccess
impl Clone for RandomAccess
Source§fn clone(&self) -> RandomAccess
fn clone(&self) -> RandomAccess
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 moreimpl Copy for RandomAccess
Source§impl Debug for RandomAccess
impl Debug for RandomAccess
Source§impl Default for RandomAccess
impl Default for RandomAccess
Source§fn default() -> RandomAccess
fn default() -> RandomAccess
Returns the “default value” for a type. Read more
impl Eq for RandomAccess
Source§impl Hash for RandomAccess
impl Hash for RandomAccess
Source§impl PartialEq for RandomAccess
impl PartialEq for RandomAccess
impl StructuralPartialEq for RandomAccess
Auto Trait Implementations§
impl Freeze for RandomAccess
impl RefUnwindSafe for RandomAccess
impl Send for RandomAccess
impl Sync for RandomAccess
impl Unpin for RandomAccess
impl UnsafeUnpin for RandomAccess
impl UnwindSafe for RandomAccess
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