#[non_exhaustive]pub enum Role {
Show 16 variants
Caption,
Subtitle,
Main,
Alternate,
Supplementary,
Commentary,
Dub,
Description,
Sign,
Metadata,
EnhancedAudioIntelligibility,
Emergency,
ForcedSubtitle,
EasyReader,
Karaoke,
Other,
}Expand description
A 5.8.5.5 role value.
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.
Caption
caption.
Subtitle
subtitle.
Main
main.
Alternate
alternate.
Supplementary
supplementary.
Commentary
commentary.
Dub
dub.
Description
description.
Sign
sign.
Metadata
metadata.
EnhancedAudioIntelligibility
enhanced-audio-intelligibility.
Emergency
emergency.
ForcedSubtitle
forced-subtitle.
EasyReader
easyreader.
Karaoke
karaoke.
Other
Any other token.
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Forget for Role
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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