pub struct SmpteOffset {
pub hours: u8,
pub minutes: u8,
pub seconds: u8,
pub frames: u8,
pub subframes: u8,
}Expand description
An SMPTE timecode offset, as carried by the SMPTE-offset meta event.
Fields§
§hours: u8Hours field.
minutes: u8Minutes field.
seconds: u8Seconds field.
frames: u8Frames field.
subframes: u8Fractional-frame (subframe) field.
Trait Implementations§
Source§impl Clone for SmpteOffset
impl Clone for SmpteOffset
Source§fn clone(&self) -> SmpteOffset
fn clone(&self) -> SmpteOffset
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 SmpteOffset
Source§impl Debug for SmpteOffset
impl Debug for SmpteOffset
impl Eq for SmpteOffset
Source§impl Hash for SmpteOffset
impl Hash for SmpteOffset
Source§impl PartialEq for SmpteOffset
impl PartialEq for SmpteOffset
Source§fn eq(&self, other: &SmpteOffset) -> bool
fn eq(&self, other: &SmpteOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SmpteOffset
Auto Trait Implementations§
impl Freeze for SmpteOffset
impl RefUnwindSafe for SmpteOffset
impl Send for SmpteOffset
impl Sync for SmpteOffset
impl Unpin for SmpteOffset
impl UnsafeUnpin for SmpteOffset
impl UnwindSafe for SmpteOffset
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