Struct aligned_media::Alignment
[−]
[src]
pub struct Alignment { pub tracks: Vec<Track>, pub ext: ExtensionData, // some fields omitted }
The smallest unit of alignment or synchronization. This might be a subtitle, a sentence, or perhaps multiple sentences if that's the best the aligning application can do.
Fields
tracks: Vec<Track>
One or more representations of the Alignment
. For example, subtitle
text in one or more languages, or an image, or a short audio clip.
Normally this does not include any version of the
MediaFile.baseTrack
track, because we can already use
MediaFile.baseTrack
and Alignment.span
to figure out what portion
of the base track corresponds to this alignment.
ext: ExtensionData
Application-specific extension data.
Trait Implementations
impl Clone for Alignment
[src]
fn clone(&self) -> Alignment
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more