pub enum TimecodeFormat {
Smpte23976,
Smpte24,
Smpte25,
Smpte2997Df,
Smpte2997Ndf,
Smpte30,
Smpte60,
FrameCount,
Milliseconds,
Seconds,
HhMmSsMmm,
}Expand description
SMPTE timecode format.
Variants§
Smpte23976
SMPTE timecode at 23.976 fps (non-drop-frame).
Smpte24
SMPTE timecode at 24 fps.
Smpte25
SMPTE timecode at 25 fps (PAL).
Smpte2997Df
SMPTE timecode at 29.97 fps drop-frame.
Smpte2997Ndf
SMPTE timecode at 29.97 fps non-drop-frame.
Smpte30
SMPTE timecode at 30 fps.
Smpte60
SMPTE timecode at 60 fps.
FrameCount
Frame count (0, 1, 2, …).
Milliseconds
Milliseconds (0, 16, 33, …).
Seconds
Seconds (0.000, 0.016, 0.033, …).
HhMmSsMmm
HH:MM:SS.mmm format.
Implementations§
Trait Implementations§
Source§impl Clone for TimecodeFormat
impl Clone for TimecodeFormat
Source§fn clone(&self) -> TimecodeFormat
fn clone(&self) -> TimecodeFormat
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 TimecodeFormat
Source§impl Debug for TimecodeFormat
impl Debug for TimecodeFormat
Source§impl Default for TimecodeFormat
impl Default for TimecodeFormat
impl Eq for TimecodeFormat
Source§impl PartialEq for TimecodeFormat
impl PartialEq for TimecodeFormat
Source§fn eq(&self, other: &TimecodeFormat) -> bool
fn eq(&self, other: &TimecodeFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimecodeFormat
Auto Trait Implementations§
impl Freeze for TimecodeFormat
impl RefUnwindSafe for TimecodeFormat
impl Send for TimecodeFormat
impl Sync for TimecodeFormat
impl Unpin for TimecodeFormat
impl UnsafeUnpin for TimecodeFormat
impl UnwindSafe for TimecodeFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more