Struct srtparse::Subtitle
[−]
[src]
pub struct Subtitle { pub pos: usize, pub start_time: Duration, pub end_time: Duration, pub text: String, }
A subtitle item
Fields
pos: usize
A number indicating which subtitle it is in the sequence
start_time: Duration
The time that the subtitle should appear
end_time: Duration
The time that the subtitle should disappear
text: String
The subtitle itself