#[non_exhaustive]pub struct RegionElement {Show 13 fields
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub begin: Option<String>,
pub dur: Option<String>,
pub end: Option<String>,
pub time_container: Option<String>,
pub style: Option<String>,
pub animate: Option<String>,
pub condition: Option<String>,
pub ttm_role: Option<String>,
pub style_attributes: StyleAttributes,
pub other_attributes: BTreeMap<(String, String), String>,
}Expand description
<region> element — TTML2 §11.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 (required for referential binding).
xml_lang: Option<String>XML language.
xml_space: Option<XmlSpace>XML space.
begin: Option<String>begin time expression.
dur: Option<String>dur time expression.
end: Option<String>end time expression.
time_container: Option<String>timeContainer.
style: Option<String>style IDREFS.
animate: Option<String>animate IDREFS.
condition: Option<String>condition expression.
ttm_role: Option<String>ttm:role.
style_attributes: StyleAttributesStyle attributes on the region.
other_attributes: BTreeMap<(String, String), String>Other attributes.
Trait Implementations§
Source§impl Clone for RegionElement
impl Clone for RegionElement
Source§fn clone(&self) -> RegionElement
fn clone(&self) -> RegionElement
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 RegionElement
impl Debug for RegionElement
Source§impl Default for RegionElement
impl Default for RegionElement
Source§fn default() -> RegionElement
fn default() -> RegionElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for RegionElement
impl PartialEq for RegionElement
impl StructuralPartialEq for RegionElement
Auto Trait Implementations§
impl Freeze for RegionElement
impl RefUnwindSafe for RegionElement
impl Send for RegionElement
impl Sync for RegionElement
impl Unpin for RegionElement
impl UnsafeUnpin for RegionElement
impl UnwindSafe for RegionElement
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