#[non_exhaustive]pub enum PictureType {
Unspecified,
I,
P,
B,
S,
Si,
Sp,
Bi,
}Expand description
Picture type per AVFrame.pict_type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
Unspecified / unset.
I
Intra (I-frame).
P
Predicted (P-frame).
B
Bi-directional predicted (B-frame).
S
S(GMC)-VOP from MPEG-4.
Si
Switching Intra (H.264).
Sp
Switching Predicted (H.264).
Bi
Bi-predicted intra (BI-frame).
Trait Implementations§
Source§impl Clone for PictureType
impl Clone for PictureType
Source§fn clone(&self) -> PictureType
fn clone(&self) -> PictureType
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 PictureType
impl Debug for PictureType
Source§impl Default for PictureType
impl Default for PictureType
Source§fn default() -> PictureType
fn default() -> PictureType
Returns the “default value” for a type. Read more
Source§impl Hash for PictureType
impl Hash for PictureType
Source§impl PartialEq for PictureType
impl PartialEq for PictureType
Source§fn eq(&self, other: &PictureType) -> bool
fn eq(&self, other: &PictureType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PictureType
impl Eq for PictureType
impl StructuralPartialEq for PictureType
Auto Trait Implementations§
impl Freeze for PictureType
impl RefUnwindSafe for PictureType
impl Send for PictureType
impl Sync for PictureType
impl Unpin for PictureType
impl UnsafeUnpin for PictureType
impl UnwindSafe for PictureType
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