Struct subparse::SrtFile [] [src]

pub struct SrtFile { /* fields omitted */ }

Represents a .srt file.

Methods

impl SrtFile
[src]

[src]

Parse a .srt subtitle string to SrtFile.

impl SrtFile
[src]

[src]

Creates .srt file from scratch.

Trait Implementations

impl Debug for SrtFile
[src]

[src]

Formats the value using the given formatter.

impl Clone for SrtFile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl SubtitleFile for SrtFile
[src]

[src]

The subtitle entries can be changed by calling update_subtitle_entries().

[src]

Set the entries from the subtitle entries from the get_subtitle_entries(). Read more

[src]

Returns a byte-stream in the respective format (.ssa, .srt, etc.) with the (probably) altered information. Read more