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

A number indicating which subtitle it is in the sequence

The time that the subtitle should appear

The time that the subtitle should disappear

The subtitle itself

Trait Implementations

impl Debug for Subtitle
[src]

Formats the value using the given formatter.