pub struct VTTLine {
pub identifier: Option<String>,
pub start: Time,
pub end: Time,
pub settings: HashMap<String, Option<String>>,
pub text: String,
}
Expand description
The VTTLine contains information about the line itself as well as the positional information of the line
Fields§
§identifier: Option<String>
§start: Time
§end: Time
§settings: HashMap<String, Option<String>>
§text: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VTTLine
impl<'de> Deserialize<'de> for VTTLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VTTLine
impl StructuralPartialEq for VTTLine
Auto Trait Implementations§
impl Freeze for VTTLine
impl RefUnwindSafe for VTTLine
impl Send for VTTLine
impl Sync for VTTLine
impl Unpin for VTTLine
impl UnwindSafe for VTTLine
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