pub struct PacketFlags {
pub keyframe: bool,
pub end_of_stream: bool,
}Expand description
Per-packet flags.
Fields§
§keyframe: boolThis packet begins a keyframe (random-access point).
end_of_stream: boolThe last packet of its logical stream (Ogg: the final packet of the
end-of-stream page). Audio decoders trim this packet’s output so the
stream ends at its Packet::end_position, as FFmpeg does.
Trait Implementations§
Source§impl Clone for PacketFlags
impl Clone for PacketFlags
impl Copy for PacketFlags
Source§impl Debug for PacketFlags
impl Debug for PacketFlags
Source§impl Default for PacketFlags
impl Default for PacketFlags
impl Eq for PacketFlags
Source§impl PartialEq for PacketFlags
impl PartialEq for PacketFlags
impl StructuralPartialEq for PacketFlags
Auto Trait Implementations§
impl Freeze for PacketFlags
impl RefUnwindSafe for PacketFlags
impl Send for PacketFlags
impl Sync for PacketFlags
impl Unpin for PacketFlags
impl UnsafeUnpin for PacketFlags
impl UnwindSafe for PacketFlags
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