Struct matroska::Chapter[][src]

pub struct Chapter {
    pub uid: u64,
    pub time_start: Duration,
    pub time_end: Option<Duration>,
    pub hidden: bool,
    pub enabled: bool,
    pub segment_uid: Option<Vec<u8>>,
    pub segment_edition_uid: Option<u64>,
    pub display: Vec<ChapterDisplay>,
}
Expand description

An individual chapter point

Fields

uid: u64

The chapter’s UID

time_start: Duration

Timestamp of the start of the chapter

time_end: Option<Duration>

Timestamp of the end of the chapter

hidden: bool

Whether the chapter point should be hidden in the user interface

enabled: bool

Whether the chapter point should be enabled in the user interface

segment_uid: Option<Vec<u8>>

Unique ID of the segment to be played during this chapter

segment_edition_uid: Option<u64>

Unique ID of the edition to play from the linked segment

display: Vec<ChapterDisplay>

Contains all strings to use for displaying chapter

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.