pub struct TimelineTrack {
pub interchange: InterchangeObjectFields,
pub track_id: u32,
pub track_number: u32,
pub track_name: Option<String>,
pub sequence: StrongRef,
pub edit_rate: Rational,
pub origin: i64,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Timeline Track Set — SMPTE ST 377-1:2019 Annex B §B.12 (byte
14/15 = 0x01/0x3B): a timed track with a fixed edit rate and
origin position.
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) — human-readable name.
sequence: StrongRefSequence (0x4803, Req) — strong reference to a Sequence.
edit_rate: RationalEdit Rate (0x4B01, Req) — the track’s time base.
origin: i64Origin (0x4B02, Req) — the position of the first edit unit.
dark: Vec<(u16, Vec<u8>)>Unrecognized properties preserved for round-trip fidelity.
Trait Implementations§
Source§impl Clone for TimelineTrack
impl Clone for TimelineTrack
Source§fn clone(&self) -> TimelineTrack
fn clone(&self) -> TimelineTrack
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 TimelineTrack
impl Debug for TimelineTrack
impl Eq for TimelineTrack
Source§impl<'a> Parse<'a> for TimelineTrack
impl<'a> Parse<'a> for TimelineTrack
Source§impl PartialEq for TimelineTrack
impl PartialEq for TimelineTrack
Source§impl Serialize for TimelineTrack
impl Serialize for TimelineTrack
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 TimelineTrack
Auto Trait Implementations§
impl Freeze for TimelineTrack
impl RefUnwindSafe for TimelineTrack
impl Send for TimelineTrack
impl Sync for TimelineTrack
impl Unpin for TimelineTrack
impl UnsafeUnpin for TimelineTrack
impl UnwindSafe for TimelineTrack
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