pub enum SmpteRange {
Empty(SmpteType),
From(SmpteType, SmpteTime),
FromTo(SmpteType, SmpteTime, SmpteTime),
To(SmpteType, SmpteTime),
}Expand description
SMPTE-Relative Timecode Range (RFC 7826 section 4.4.1).
Variants§
Empty(SmpteType)
Empty range.
From(SmpteType, SmpteTime)
Range starting at a specific time.
FromTo(SmpteType, SmpteTime, SmpteTime)
Range from a specific time to another.
To(SmpteType, SmpteTime)
Range ending at a specific time.
Trait Implementations§
Source§impl Clone for SmpteRange
impl Clone for SmpteRange
Source§fn clone(&self) -> SmpteRange
fn clone(&self) -> SmpteRange
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 moreSource§impl Debug for SmpteRange
impl Debug for SmpteRange
Source§impl Display for SmpteRange
impl Display for SmpteRange
impl Eq for SmpteRange
Source§impl FromStr for SmpteRange
impl FromStr for SmpteRange
Source§impl Hash for SmpteRange
impl Hash for SmpteRange
Source§impl Ord for SmpteRange
impl Ord for SmpteRange
Source§fn cmp(&self, other: &SmpteRange) -> Ordering
fn cmp(&self, other: &SmpteRange) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmpteRange
impl PartialEq for SmpteRange
Source§fn eq(&self, other: &SmpteRange) -> bool
fn eq(&self, other: &SmpteRange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SmpteRange
impl PartialOrd for SmpteRange
impl StructuralPartialEq for SmpteRange
Auto Trait Implementations§
impl Freeze for SmpteRange
impl RefUnwindSafe for SmpteRange
impl Send for SmpteRange
impl Sync for SmpteRange
impl Unpin for SmpteRange
impl UnsafeUnpin for SmpteRange
impl UnwindSafe for SmpteRange
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