Struct vobsub::Index
[−]
[src]
pub struct Index { /* fields omitted */ }
A *.idx
file describing the subtitles in a *.sub
file.
Methods
impl Index
[src]
fn open<P: AsRef<Path>>(path: P) -> Result<Index>
Open an *.idx
file and the associated *.sub
file.
fn palette(&self) -> &Palette
Get the palette associated with this *.idx
file.
fn subtitles(&self) -> Subtitles
Iterate over the subtitles associated with this *.idx
file.