#[non_exhaustive]pub struct LayoutElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub regions: Vec<RegionElement>,
}Expand description
<layout> container — TTML2 §11.1.1.
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.
regions: Vec<RegionElement>Child <region> elements.
Trait Implementations§
Source§impl Clone for LayoutElement
impl Clone for LayoutElement
Source§fn clone(&self) -> LayoutElement
fn clone(&self) -> LayoutElement
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 LayoutElement
impl Debug for LayoutElement
Source§impl Default for LayoutElement
impl Default for LayoutElement
Source§fn default() -> LayoutElement
fn default() -> LayoutElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutElement
impl PartialEq for LayoutElement
impl StructuralPartialEq for LayoutElement
Auto Trait Implementations§
impl Freeze for LayoutElement
impl RefUnwindSafe for LayoutElement
impl Send for LayoutElement
impl Sync for LayoutElement
impl Unpin for LayoutElement
impl UnsafeUnpin for LayoutElement
impl UnwindSafe for LayoutElement
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