Re-exports§
pub use crate::parser::ParseError;
Modules§
Structs§
- GsiBlock
- General Subtitle Information (GSI) block
- Stl
- A representation of a STL File See the Spec for details
- Time
- A representation of a Time Code
- TtiBlock
- Text and Timing Information (TTI) block
- TtiFormat
- Text format information
Enums§
- Character
Code Table - The five ISO Standard character code tables can be used to define the text in the Text Field of the TTI Blocks
- Code
Page Number - The codepage numbers an stl file can use for strings
- Cumulative
Status - A status to indicate if a subtitle is part of a cumulative set of subtitles
- Disk
Format Code - The television frame-rates the STL spec allows
- Display
Standard Code - The four display modes from the spec.
- Justification
- The horizontal alignment of a displayed subtitle
- Time
Code Status - A Status to indicate the validity of the information in GSI and TTI blocks.
Functions§
- parse_
stl_ from_ file - Reads an STL file and parse it to a Stl struct.