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
timespan: TimeSpan
The duration for which the current subtitle will be shown.
line: Option<String>
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]
impl From<TimeSpan> for SubtitleEntry
[src]
fn from(f: TimeSpan) -> SubtitleEntry
[src]
Performs the conversion.