pub struct FlagForced(pub u64);Expand description
Applies only to subtitles. Set to 1 if the track is eligible for automatic selection by the player if it matches the user’s language preference, even if the user’s preferences would not normally enable subtitles with the selected audio track; this can be used for tracks containing only translations of audio in foreign languages or on-screen text. See (#default-track-selection) for more details.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for FlagForced
impl Clone for FlagForced
Source§fn clone(&self) -> FlagForced
fn clone(&self) -> FlagForced
Returns a duplicate of the value. Read more
1.0.0 · 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 FlagForced
impl Debug for FlagForced
Source§impl Default for FlagForced
impl Default for FlagForced
Source§impl Deref for FlagForced
impl Deref for FlagForced
Source§impl Element for FlagForced
impl Element for FlagForced
Source§const HAS_DEFAULT_VALUE: bool = true
const HAS_DEFAULT_VALUE: bool = true
Whether the element has a default value, as per Matroska specification.
If true, and the element is missing in a master element, it should be treated as if it were present with the default value.
If false, and the element is missing in a master element, it should be treated as an error.
Source§impl Hash for FlagForced
impl Hash for FlagForced
Source§impl Ord for FlagForced
impl Ord for FlagForced
Source§fn cmp(&self, other: &FlagForced) -> Ordering
fn cmp(&self, other: &FlagForced) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlagForced
impl PartialEq for FlagForced
Source§impl PartialOrd for FlagForced
impl PartialOrd for FlagForced
impl Copy for FlagForced
impl Eq for FlagForced
impl StructuralPartialEq for FlagForced
Auto Trait Implementations§
impl Freeze for FlagForced
impl RefUnwindSafe for FlagForced
impl Send for FlagForced
impl Sync for FlagForced
impl Unpin for FlagForced
impl UnsafeUnpin for FlagForced
impl UnwindSafe for FlagForced
Blanket Implementations§
Source§impl<T> AsyncReadElement for Twhere
T: Element,
impl<T> AsyncReadElement for Twhere
T: Element,
Source§impl<T> AsyncReadFrom for Twhere
T: Element,
impl<T> AsyncReadFrom for Twhere
T: Element,
Source§impl<T> AsyncWriteElement for Twhere
T: Element,
impl<T> AsyncWriteElement for Twhere
T: Element,
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
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