#[non_exhaustive]pub struct TtmNameElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub condition: Option<String>,
pub type_: Option<String>,
pub text: String,
}Expand description
<ttm:name> — TTML2 §14.1.7.
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.
type_: Option<String>type: full, family, given, alias, other.
text: StringText content.
Trait Implementations§
Source§impl Clone for TtmNameElement
impl Clone for TtmNameElement
Source§fn clone(&self) -> TtmNameElement
fn clone(&self) -> TtmNameElement
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 TtmNameElement
impl Debug for TtmNameElement
Source§impl Default for TtmNameElement
impl Default for TtmNameElement
Source§fn default() -> TtmNameElement
fn default() -> TtmNameElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for TtmNameElement
impl PartialEq for TtmNameElement
impl StructuralPartialEq for TtmNameElement
Auto Trait Implementations§
impl Freeze for TtmNameElement
impl RefUnwindSafe for TtmNameElement
impl Send for TtmNameElement
impl Sync for TtmNameElement
impl Unpin for TtmNameElement
impl UnsafeUnpin for TtmNameElement
impl UnwindSafe for TtmNameElement
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