pgs-parse 0.1.0

Parse Presentation Graphic Stream (SUP files)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::rc::Rc;

use crate::{PgsOdsSegment, PgsPcsSegment, PgsPdsSegment, PgsWdsSegment};

/// Enum representing different types of PGS (Presentation Graphic Stream) segments.
/// These segments are used in Blu-ray subtitles to define various aspects of the subtitle data.
#[derive(Debug)]
pub enum PgsSegment {
    Pcs(Rc<PgsPcsSegment>),
    Wds(Rc<PgsWdsSegment>),
    Pds(Rc<PgsPdsSegment>),
    Ods(Rc<PgsOdsSegment>),
    End,
}