#[non_exhaustive]pub struct IttmAltTextElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub text: String,
}Expand description
<ittm:altText> — IMSC 1.1 §7.8.4.
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.
text: StringText content.
Trait Implementations§
Source§impl Clone for IttmAltTextElement
impl Clone for IttmAltTextElement
Source§fn clone(&self) -> IttmAltTextElement
fn clone(&self) -> IttmAltTextElement
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 IttmAltTextElement
impl Debug for IttmAltTextElement
Source§impl Default for IttmAltTextElement
impl Default for IttmAltTextElement
Source§fn default() -> IttmAltTextElement
fn default() -> IttmAltTextElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for IttmAltTextElement
impl PartialEq for IttmAltTextElement
impl StructuralPartialEq for IttmAltTextElement
Auto Trait Implementations§
impl Freeze for IttmAltTextElement
impl RefUnwindSafe for IttmAltTextElement
impl Send for IttmAltTextElement
impl Sync for IttmAltTextElement
impl Unpin for IttmAltTextElement
impl UnsafeUnpin for IttmAltTextElement
impl UnwindSafe for IttmAltTextElement
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