#[non_exhaustive]pub struct EncodedFrame {
pub data: Vec<u8>,
pub keyframe: bool,
pub temporal_id: u8,
pub layer_sync: bool,
pub q_index: u8,
}Expand description
One encoded frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data: Vec<u8>One raw VP8 frame, starting at the frame tag.
keyframe: boolA keyframe.
temporal_id: u8The temporal layer, 0 for the base.
layer_sync: boolRFC 7741’s Y bit: the frame depends only on the base layer (or is a keyframe).
q_index: u8The quantizer index used (0 to 127), for statistics.
Trait Implementations§
Source§impl Clone for EncodedFrame
impl Clone for EncodedFrame
Source§impl Debug for EncodedFrame
impl Debug for EncodedFrame
impl Eq for EncodedFrame
Source§impl PartialEq for EncodedFrame
impl PartialEq for EncodedFrame
impl StructuralPartialEq for EncodedFrame
Auto Trait Implementations§
impl Forget for EncodedFrame
impl Freeze for EncodedFrame
impl Move for EncodedFrame
impl RefUnwindSafe for EncodedFrame
impl Send for EncodedFrame
impl Sync for EncodedFrame
impl Unpin for EncodedFrame
impl UnsafeUnpin for EncodedFrame
impl UnwindSafe for EncodedFrame
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