Struct subparse::SsaFile [−][src]
Represents a reconstructable .ssa
/.ass
file.
All unimportant information (for this project) are saved into SsaFilePart::Filler(...)
, so
a timespan-altered file still has the same field etc.
Implementations
impl SsaFile
[src]
pub fn parse(s: &str) -> SubtitleParserResult<SsaFile>
[src]
Parse a .ssa
subtitle string to SsaFile
.
Trait Implementations
impl Clone for SsaFile
[src]
impl Debug for SsaFile
[src]
impl From<SsaFile> for SubtitleFile
[src]
fn from(f: SsaFile) -> SubtitleFile
[src]
impl SubtitleFileInterface for SsaFile
[src]
fn get_subtitle_entries(&self) -> SubtitleParserResult<Vec<SubtitleEntry>>
[src]
fn update_subtitle_entries(
&mut self,
new_subtitle_entries: &[SubtitleEntry]
) -> SubtitleParserResult<()>
[src]
&mut self,
new_subtitle_entries: &[SubtitleEntry]
) -> SubtitleParserResult<()>
fn to_data(&self) -> SubtitleParserResult<Vec<u8>>
[src]
Auto Trait Implementations
impl RefUnwindSafe for SsaFile
impl Send for SsaFile
impl Sync for SsaFile
impl Unpin for SsaFile
impl UnwindSafe for SsaFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,