pub enum SubtitleFormat {
SubRip,
SubStationAlpha,
VobSubIdx,
VobSubSub,
MicroDVD,
}
Expand description
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)
Implementations§
Trait Implementations§
Source§impl Clone for SubtitleFormat
impl Clone for SubtitleFormat
Source§fn clone(&self) -> SubtitleFormat
fn clone(&self) -> SubtitleFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubtitleFormat
impl Debug for SubtitleFormat
Source§impl PartialEq for SubtitleFormat
impl PartialEq for SubtitleFormat
impl Copy for SubtitleFormat
impl Eq for SubtitleFormat
impl StructuralPartialEq for SubtitleFormat
Auto Trait Implementations§
impl Freeze for SubtitleFormat
impl RefUnwindSafe for SubtitleFormat
impl Send for SubtitleFormat
impl Sync for SubtitleFormat
impl Unpin for SubtitleFormat
impl UnwindSafe for SubtitleFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more