#[non_exhaustive]pub enum TrickMode {
FastForward {
field_id: u8,
intra_slice_refresh: bool,
frequency_truncation: u8,
},
SlowMotion {
rep_cntrl: u8,
},
FreezeFrame {
field_id: u8,
},
FastReverse {
field_id: u8,
intra_slice_refresh: bool,
frequency_truncation: u8,
},
SlowReverse {
rep_cntrl: u8,
},
Reserved {
trick_mode_control: u8,
data: u8,
},
}Expand description
Trick-mode control values for the DSM_trick_mode_flag field
(ISO/IEC 13818-1 §2.4.3.7, Table 2-24).
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.
FastForward
000 — fast forward.
Fields
SlowMotion
001 — slow motion.
FreezeFrame
010 — freeze frame.
FastReverse
011 — fast reverse.
Fields
SlowReverse
100 — slow reverse.
Reserved
101–111 — reserved.
Implementations§
Trait Implementations§
impl Copy for TrickMode
impl Eq for TrickMode
impl StructuralPartialEq for TrickMode
Auto Trait Implementations§
impl Freeze for TrickMode
impl RefUnwindSafe for TrickMode
impl Send for TrickMode
impl Sync for TrickMode
impl Unpin for TrickMode
impl UnsafeUnpin for TrickMode
impl UnwindSafe for TrickMode
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