#[non_exhaustive]pub struct StylingElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub initials: Vec<InitialElement>,
pub styles: Vec<StyleElement>,
}Expand description
<styling> container — TTML2 §10.1.3.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.xml_id: Option<String>XML id.
xml_lang: Option<String>XML language.
xml_space: Option<XmlSpace>XML space.
initials: Vec<InitialElement><initial> elements.
styles: Vec<StyleElement><style> elements.
Trait Implementations§
Source§impl Clone for StylingElement
impl Clone for StylingElement
Source§fn clone(&self) -> StylingElement
fn clone(&self) -> StylingElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StylingElement
impl Debug for StylingElement
Source§impl Default for StylingElement
impl Default for StylingElement
Source§fn default() -> StylingElement
fn default() -> StylingElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for StylingElement
impl PartialEq for StylingElement
impl StructuralPartialEq for StylingElement
Auto Trait Implementations§
impl Freeze for StylingElement
impl RefUnwindSafe for StylingElement
impl Send for StylingElement
impl Sync for StylingElement
impl Unpin for StylingElement
impl UnsafeUnpin for StylingElement
impl UnwindSafe for StylingElement
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