Enum subparse::SubtitleFormat
[−]
[src]
pub enum SubtitleFormat {
SubRip,
SubStationAlpha,
VobSubIdx,
VobSubSub,
MicroDVD,
}All formats which are supported by this library.
Variants
SubRip.srt file
SubStationAlpha.ssa/.ass file
VobSubIdx.idx file
VobSubSub.sub file (VobSub/binary)
MicroDVD.sub file (MicroDVD/text)
Methods
impl SubtitleFormat[src]
fn get_name(&self) -> &'static str[src]
Get a descriptive string for the format like ".srt (SubRip)".
Trait Implementations
impl Clone for SubtitleFormat[src]
fn clone(&self) -> SubtitleFormat[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for SubtitleFormat[src]
impl Debug for SubtitleFormat[src]
impl PartialEq for SubtitleFormat[src]
fn eq(&self, __arg_0: &SubtitleFormat) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.