pub struct EventTrack {
pub interchange: InterchangeObjectFields,
pub track_id: u32,
pub track_number: u32,
pub track_name: Option<String>,
pub sequence: StrongRef,
pub event_edit_rate: Rational,
pub event_origin: Option<i64>,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Event Track (DM) Set — SMPTE ST 377-1:2019 Annex B §B.13 (byte
14/15 = 0x01/0x39): a DM event-driven track with an edit rate
and optional origin.
Fields§
§interchange: InterchangeObjectFieldsInterchange Object (A.1) base properties.
track_id: u32Track ID (0x4801, Req).
track_number: u32Track Number (0x4804, Req, default 0).
track_name: Option<String>Track Name (0x4802, Opt).
sequence: StrongRefSequence (0x4803, Req) — strong reference to a Sequence.
event_edit_rate: RationalEvent Edit Rate (0x4901, Req).
event_origin: Option<i64>Event Origin (0x4902, Opt, default 0).
dark: Vec<(u16, Vec<u8>)>Unrecognized properties preserved for round-trip fidelity.
Trait Implementations§
Source§impl Clone for EventTrack
impl Clone for EventTrack
Source§fn clone(&self) -> EventTrack
fn clone(&self) -> EventTrack
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 EventTrack
impl Debug for EventTrack
impl Eq for EventTrack
Source§impl<'a> Parse<'a> for EventTrack
impl<'a> Parse<'a> for EventTrack
Source§impl PartialEq for EventTrack
impl PartialEq for EventTrack
Source§impl Serialize for EventTrack
impl Serialize for EventTrack
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 EventTrack
Auto Trait Implementations§
impl Freeze for EventTrack
impl RefUnwindSafe for EventTrack
impl Send for EventTrack
impl Sync for EventTrack
impl Unpin for EventTrack
impl UnsafeUnpin for EventTrack
impl UnwindSafe for EventTrack
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