#[non_exhaustive]pub struct TtmAgentElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub condition: Option<String>,
pub type_: Option<String>,
pub names: Vec<TtmNameElement>,
}Expand description
<ttm:agent> — TTML2 §14.1.3.
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: person, character, group, organization, other.
names: Vec<TtmNameElement>Child <ttm:name> elements.
Trait Implementations§
Source§impl Clone for TtmAgentElement
impl Clone for TtmAgentElement
Source§fn clone(&self) -> TtmAgentElement
fn clone(&self) -> TtmAgentElement
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 TtmAgentElement
impl Debug for TtmAgentElement
Source§impl Default for TtmAgentElement
impl Default for TtmAgentElement
Source§fn default() -> TtmAgentElement
fn default() -> TtmAgentElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for TtmAgentElement
impl PartialEq for TtmAgentElement
impl StructuralPartialEq for TtmAgentElement
Auto Trait Implementations§
impl Freeze for TtmAgentElement
impl RefUnwindSafe for TtmAgentElement
impl Send for TtmAgentElement
impl Sync for TtmAgentElement
impl Unpin for TtmAgentElement
impl UnsafeUnpin for TtmAgentElement
impl UnwindSafe for TtmAgentElement
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