#[non_exhaustive]pub struct HeadElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub metadata: Vec<MetadataChild>,
pub styling: Option<StylingElement>,
pub layout: Option<LayoutElement>,
}Expand description
<head> element — TTML2 §8.1.2.
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.
metadata: Vec<MetadataChild>Metadata children.
styling: Option<StylingElement>Styling section.
layout: Option<LayoutElement>Layout section.
Trait Implementations§
Source§impl Clone for HeadElement
impl Clone for HeadElement
Source§fn clone(&self) -> HeadElement
fn clone(&self) -> HeadElement
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 HeadElement
impl Debug for HeadElement
Source§impl Default for HeadElement
impl Default for HeadElement
Source§fn default() -> HeadElement
fn default() -> HeadElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for HeadElement
impl PartialEq for HeadElement
impl StructuralPartialEq for HeadElement
Auto Trait Implementations§
impl Freeze for HeadElement
impl RefUnwindSafe for HeadElement
impl Send for HeadElement
impl Sync for HeadElement
impl Unpin for HeadElement
impl UnsafeUnpin for HeadElement
impl UnwindSafe for HeadElement
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