#[non_exhaustive]pub enum ConfigFormat {
Avcc,
AnnexB,
}Expand description
How Stream::write_h264_config describes the decoder configuration.
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.
Avcc
An avcC record (AVCDecoderConfigurationRecord).
AnnexB
Annex B NAL units with at least one SPS and one PPS.
Trait Implementations§
Source§impl Clone for ConfigFormat
impl Clone for ConfigFormat
impl Copy for ConfigFormat
Source§impl Debug for ConfigFormat
impl Debug for ConfigFormat
impl Eq for ConfigFormat
Source§impl PartialEq for ConfigFormat
impl PartialEq for ConfigFormat
impl StructuralPartialEq for ConfigFormat
Auto Trait Implementations§
impl Forget for ConfigFormat
impl Freeze for ConfigFormat
impl Move for ConfigFormat
impl RefUnwindSafe for ConfigFormat
impl Send for ConfigFormat
impl Sync for ConfigFormat
impl Unpin for ConfigFormat
impl UnsafeUnpin for ConfigFormat
impl UnwindSafe for ConfigFormat
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