#[non_exhaustive]pub struct TtmItemElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub condition: Option<String>,
pub name: Option<String>,
pub text: Option<String>,
pub items: Vec<TtmItemElement>,
}Expand description
<ttm:item> — TTML2 §14.1.6.
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.
condition: Option<String>condition.
name: Option<String>name — either a named-item or QName.
text: Option<String>Text content.
items: Vec<TtmItemElement>Nested <ttm:item> elements.
Trait Implementations§
Source§impl Clone for TtmItemElement
impl Clone for TtmItemElement
Source§fn clone(&self) -> TtmItemElement
fn clone(&self) -> TtmItemElement
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 TtmItemElement
impl Debug for TtmItemElement
Source§impl Default for TtmItemElement
impl Default for TtmItemElement
Source§fn default() -> TtmItemElement
fn default() -> TtmItemElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for TtmItemElement
impl PartialEq for TtmItemElement
impl StructuralPartialEq for TtmItemElement
Auto Trait Implementations§
impl Freeze for TtmItemElement
impl RefUnwindSafe for TtmItemElement
impl Send for TtmItemElement
impl Sync for TtmItemElement
impl Unpin for TtmItemElement
impl UnsafeUnpin for TtmItemElement
impl UnwindSafe for TtmItemElement
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