#[non_exhaustive]pub enum DropMode {
NonDrop,
DropNtsc,
DropPal,
}Expand description
ttp:dropMode values — TTML2 §7.2.4.
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.
NonDrop
No frame dropping.
DropNtsc
NTSC drop-frame (frames 00,01 dropped at minute start except multiples of 10).
DropPal
PAL drop-frame (frames 00-03 dropped at even minute start except multiples of 20).
Implementations§
Trait Implementations§
impl Copy for DropMode
impl Eq for DropMode
impl StructuralPartialEq for DropMode
Auto Trait Implementations§
impl Freeze for DropMode
impl RefUnwindSafe for DropMode
impl Send for DropMode
impl Sync for DropMode
impl Unpin for DropMode
impl UnsafeUnpin for DropMode
impl UnwindSafe for DropMode
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