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

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.

Application-specific extension data.

Trait Implementations

impl Clone for Alignment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Alignment
[src]

[src]

Formats the value using the given formatter.

impl Default for Alignment
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for Alignment
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.