pub struct SmpteTime {
pub hours: u8,
pub minutes: u8,
pub seconds: u8,
pub frames: Option<(u8, Option<u8>)>,
}Expand description
SMPTE-Relative Timecode (RFC 7826 section 4.4.1).
Fields§
§hours: u8Hours (0-23).
minutes: u8Minutes (0-59).
seconds: u8Seconds (0-59).
frames: Option<(u8, Option<u8>)>Frames and subframes (0-framerate, 0-99).
Trait Implementations§
impl Copy for SmpteTime
impl Eq for SmpteTime
Source§impl Ord for SmpteTime
impl Ord for SmpteTime
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 PartialOrd for SmpteTime
impl PartialOrd for SmpteTime
impl StructuralPartialEq for SmpteTime
Auto Trait Implementations§
impl Freeze for SmpteTime
impl RefUnwindSafe for SmpteTime
impl Send for SmpteTime
impl Sync for SmpteTime
impl Unpin for SmpteTime
impl UnsafeUnpin for SmpteTime
impl UnwindSafe for SmpteTime
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