pub struct TimecodeComponent {
pub interchange: InterchangeObjectFields,
pub data_definition: UlBytes,
pub duration: Option<i64>,
pub start_timecode: i64,
pub rounded_timecode_base: u16,
pub drop_frame: bool,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Timecode Component Set — SMPTE ST 377-1:2019 Annex B §B.17 (byte
14/15 = 0x01/0x14): supplies a timecode reference inside a Track
Sequence (typically in a Timecode Track).
Fields§
§interchange: InterchangeObjectFieldsInterchange Object (A.1) base properties.
data_definition: UlBytesData Definition (0x0201, Req) — UL identifying the essence kind
(usually Timecode Data Definition).
duration: Option<i64>Duration (0x0202, Opt) — edit-unit count.
start_timecode: i64Start Timecode (0x1501, Req) — the initial timecode value (in
edit units counted from midnight).
rounded_timecode_base: u16Rounded Timecode Base (0x1502, Req) — the integer frame rate
the timecode runs at (e.g. 25, 30).
drop_frame: boolDrop Frame (0x1503, Req) — whether drop-frame counting applies
(NTSC 29.97).
dark: Vec<(u16, Vec<u8>)>Unrecognized properties preserved for round-trip fidelity.
Trait Implementations§
Source§impl Clone for TimecodeComponent
impl Clone for TimecodeComponent
Source§fn clone(&self) -> TimecodeComponent
fn clone(&self) -> TimecodeComponent
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 TimecodeComponent
impl Debug for TimecodeComponent
impl Eq for TimecodeComponent
Source§impl<'a> Parse<'a> for TimecodeComponent
impl<'a> Parse<'a> for TimecodeComponent
Source§impl PartialEq for TimecodeComponent
impl PartialEq for TimecodeComponent
Source§impl Serialize for TimecodeComponent
impl Serialize for TimecodeComponent
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for TimecodeComponent
Auto Trait Implementations§
impl Freeze for TimecodeComponent
impl RefUnwindSafe for TimecodeComponent
impl Send for TimecodeComponent
impl Sync for TimecodeComponent
impl Unpin for TimecodeComponent
impl UnsafeUnpin for TimecodeComponent
impl UnwindSafe for TimecodeComponent
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