#[non_exhaustive]pub enum MarkerMode {
Continuous,
Discontinuous,
}Expand description
ttp:markerMode values — TTML2 §7.2.6.
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.
Continuous
SMPTE time coordinates are linear/monotonic.
Discontinuous
No continuity assumed; arithmetic on time expressions undefined.
Implementations§
Trait Implementations§
Source§impl Clone for MarkerMode
impl Clone for MarkerMode
Source§fn clone(&self) -> MarkerMode
fn clone(&self) -> MarkerMode
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 moreimpl Copy for MarkerMode
Source§impl Debug for MarkerMode
impl Debug for MarkerMode
Source§impl Display for MarkerMode
impl Display for MarkerMode
impl Eq for MarkerMode
Source§impl PartialEq for MarkerMode
impl PartialEq for MarkerMode
impl StructuralPartialEq for MarkerMode
Auto Trait Implementations§
impl Freeze for MarkerMode
impl RefUnwindSafe for MarkerMode
impl Send for MarkerMode
impl Sync for MarkerMode
impl Unpin for MarkerMode
impl UnsafeUnpin for MarkerMode
impl UnwindSafe for MarkerMode
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