pub struct VTTStyle {
pub color: ColorType,
pub font_family: String,
pub font_size: String,
pub text_shadow: String,
pub background_color: ColorType,
pub name: Option<String>,
pub others: HashMap<String, String>,
}Expand description
The VTTStyle contains information that generally composes the ::cue header
Fields§
§color: ColorType§font_family: String§font_size: String§text_shadow: String§background_color: ColorType§name: Option<String>§others: HashMap<String, String>Trait Implementations§
source§impl<'de> Deserialize<'de> for VTTStyle
impl<'de> Deserialize<'de> for VTTStyle
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
source§impl PartialEq for VTTStyle
impl PartialEq for VTTStyle
impl Eq for VTTStyle
impl StructuralEq for VTTStyle
impl StructuralPartialEq for VTTStyle
Auto Trait Implementations§
impl RefUnwindSafe for VTTStyle
impl Send for VTTStyle
impl Sync for VTTStyle
impl Unpin for VTTStyle
impl UnwindSafe for VTTStyle
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