pub enum SubtitleRole {
Sdh,
Forced,
Commentary,
Full,
}Expand description
What a subtitle track is for.
Variants§
Sdh
For deaf and hard-of-hearing viewers: dialogue plus sounds and speakers.
Forced
Only foreign-language parts and signs.
Commentary
Full
All the dialogue. Also any role this build does not know: showing
it is the safe guess. (Last, as serde wants of other.)
Trait Implementations§
Source§impl Clone for SubtitleRole
impl Clone for SubtitleRole
impl Copy for SubtitleRole
Source§impl Debug for SubtitleRole
impl Debug for SubtitleRole
Source§impl Default for SubtitleRole
impl Default for SubtitleRole
Source§impl<'de> Deserialize<'de> for SubtitleRole
impl<'de> Deserialize<'de> for SubtitleRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SubtitleRole
Source§impl Hash for SubtitleRole
impl Hash for SubtitleRole
Source§impl PartialEq for SubtitleRole
impl PartialEq for SubtitleRole
Source§impl Serialize for SubtitleRole
impl Serialize for SubtitleRole
impl StructuralPartialEq for SubtitleRole
Auto Trait Implementations§
impl Freeze for SubtitleRole
impl RefUnwindSafe for SubtitleRole
impl Send for SubtitleRole
impl Sync for SubtitleRole
impl Unpin for SubtitleRole
impl UnsafeUnpin for SubtitleRole
impl UnwindSafe for SubtitleRole
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