pub struct SubtitleFileHandler { /* private fields */ }Implementations§
Source§impl SubtitleFileHandler
impl SubtitleFileHandler
pub fn open_sub_file( file_path: &Path, sub_encoding: Option<&'static Encoding>, sub_fps: f64, ) -> Result<SubtitleFileHandler, InputSubtitleError>
pub fn file_format(&self) -> SubtitleFormat
pub fn timespans(&self) -> &[TimeSpan]
pub fn into_subtitle_file(self) -> SubtitleFile
Auto Trait Implementations§
impl Freeze for SubtitleFileHandler
impl RefUnwindSafe for SubtitleFileHandler
impl Send for SubtitleFileHandler
impl Sync for SubtitleFileHandler
impl Unpin for SubtitleFileHandler
impl UnwindSafe for SubtitleFileHandler
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