pub struct FormatInfo {
pub name: String,
pub extensions: Vec<String>,
pub mime_type: String,
pub description: String,
pub supports_styling: bool,
pub supports_positioning: bool,
}Available on crate feature
std only.Expand description
Metadata about a subtitle format
Fields§
§name: StringFormat name (e.g., “ASS”, “SRT”, “WebVTT”)
extensions: Vec<String>File extensions supported by this format
mime_type: StringMIME type for this format
description: StringBrief description of the format
supports_styling: boolWhether this format supports styling
supports_positioning: boolWhether this format supports positioning
Trait Implementations§
Source§impl Clone for FormatInfo
impl Clone for FormatInfo
Source§fn clone(&self) -> FormatInfo
fn clone(&self) -> FormatInfo
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 FormatInfo
impl Debug for FormatInfo
Source§impl PartialEq for FormatInfo
impl PartialEq for FormatInfo
impl Eq for FormatInfo
impl StructuralPartialEq for FormatInfo
Auto Trait Implementations§
impl Freeze for FormatInfo
impl RefUnwindSafe for FormatInfo
impl Send for FormatInfo
impl Sync for FormatInfo
impl Unpin for FormatInfo
impl UnwindSafe for FormatInfo
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