Enum subparse::SubtitleFormat [] [src]

pub enum SubtitleFormat {
    SubRip,
    SubStationAlpha,
    VobSubIdx,
    VobSubSub,
    MicroDVD,
}

All formats which are supported by this library.

Variants

.srt file

.ssa/.ass file

.idx file

.sub file (VobSub/binary)

.sub file (MicroDVD/text)

Methods

impl SubtitleFormat
[src]

[src]

Get a descriptive string for the format like ".srt (SubRip)".

Trait Implementations

impl Clone for SubtitleFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SubtitleFormat
[src]

impl Debug for SubtitleFormat
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SubtitleFormat
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for SubtitleFormat
[src]