pub enum BitmapPreference {
Pictures,
Text,
}Expand description
How a viewer wants picture subtitles shown: read as text by the server, so any device shows them styled and sized, or as the pictures they are.
Variants§
Pictures
Drawn by the device if it can, else burned into the video.
Text
Read as text when the server can read the track; else as
Pictures. Also any value this build does not know. (Last, as
serde wants of other.)
Trait Implementations§
Source§impl Clone for BitmapPreference
impl Clone for BitmapPreference
impl Copy for BitmapPreference
Source§impl Debug for BitmapPreference
impl Debug for BitmapPreference
Source§impl Default for BitmapPreference
impl Default for BitmapPreference
Source§impl<'de> Deserialize<'de> for BitmapPreference
impl<'de> Deserialize<'de> for BitmapPreference
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 BitmapPreference
Source§impl PartialEq for BitmapPreference
impl PartialEq for BitmapPreference
Source§impl Serialize for BitmapPreference
impl Serialize for BitmapPreference
impl StructuralPartialEq for BitmapPreference
Auto Trait Implementations§
impl Freeze for BitmapPreference
impl RefUnwindSafe for BitmapPreference
impl Send for BitmapPreference
impl Sync for BitmapPreference
impl Unpin for BitmapPreference
impl UnsafeUnpin for BitmapPreference
impl UnwindSafe for BitmapPreference
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