#[non_exhaustive]pub enum MetadataChild {
Metadata(MetadataElement),
TtmTitle(TtmTextElement),
TtmDesc(TtmTextElement),
TtmCopyright(TtmTextElement),
TtmAgent(TtmAgentElement),
TtmItem(TtmItemElement),
TtmName(TtmNameElement),
EbuttmDocumentMetadata(EbuttmElement),
EbuttmConformsToStandard(EbuttmTextElement),
IttmAltText(IttmAltTextElement),
}Expand description
Metadata children.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Metadata(MetadataElement)
A generic <metadata> element.
TtmTitle(TtmTextElement)
<ttm:title> — TTML2 §14.1.8.
TtmDesc(TtmTextElement)
<ttm:desc> — TTML2 §14.1.5.
TtmCopyright(TtmTextElement)
<ttm:copyright> — TTML2 §14.1.4.
TtmAgent(TtmAgentElement)
<ttm:agent> — TTML2 §14.1.3.
TtmItem(TtmItemElement)
<ttm:item> — TTML2 §14.1.6.
TtmName(TtmNameElement)
<ttm:name> — TTML2 §14.1.7.
EbuttmDocumentMetadata(EbuttmElement)
<ebuttm:documentMetadata> — EBU-TT-M container.
EbuttmConformsToStandard(EbuttmTextElement)
<ebuttm:conformsToStandard> — EBU-TT-M profile signal.
IttmAltText(IttmAltTextElement)
<ittm:altText> — IMSC 1.1 §7.8.4.
Trait Implementations§
Source§impl Clone for MetadataChild
impl Clone for MetadataChild
Source§fn clone(&self) -> MetadataChild
fn clone(&self) -> MetadataChild
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 MetadataChild
impl Debug for MetadataChild
Source§impl PartialEq for MetadataChild
impl PartialEq for MetadataChild
impl StructuralPartialEq for MetadataChild
Auto Trait Implementations§
impl Freeze for MetadataChild
impl RefUnwindSafe for MetadataChild
impl Send for MetadataChild
impl Sync for MetadataChild
impl Unpin for MetadataChild
impl UnsafeUnpin for MetadataChild
impl UnwindSafe for MetadataChild
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