Struct subparse::SubtitleEntry [] [src]

pub struct SubtitleEntry {
    pub timespan: TimeSpan,
    pub line: Option<String>,
}

The data which can be read from/written to a subtitle file.

Fields

The duration for which the current subtitle will be shown.

The text which will be shown in this subtitle. Be aware that for example VobSub files (and any other image based format) will have None as value.

Trait Implementations

impl Debug for SubtitleEntry
[src]

[src]

Formats the value using the given formatter.

impl From<TimeSpan> for SubtitleEntry
[src]

[src]

Performs the conversion.