#[repr(u32)]pub enum AVSubtitleType {
SUBTITLE_NONE = 0,
SUBTITLE_BITMAP = 1,
SUBTITLE_TEXT = 2,
SUBTITLE_ASS = 3,
}Expand description
@}
Variants§
SUBTITLE_NONE = 0
SUBTITLE_BITMAP = 1
< A bitmap, pict will be set
SUBTITLE_TEXT = 2
Plain text, the text field must be set by the decoder and is authoritative. ass and pict fields may contain approximations.
SUBTITLE_ASS = 3
Formatted text, the ass field must be set by the decoder and is authoritative. pict and text fields may contain approximations.
Trait Implementations§
Source§impl Clone for AVSubtitleType
impl Clone for AVSubtitleType
Source§fn clone(&self) -> AVSubtitleType
fn clone(&self) -> AVSubtitleType
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 moreimpl Copy for AVSubtitleType
Source§impl Debug for AVSubtitleType
impl Debug for AVSubtitleType
impl Eq for AVSubtitleType
Source§impl Hash for AVSubtitleType
impl Hash for AVSubtitleType
Source§impl PartialEq for AVSubtitleType
impl PartialEq for AVSubtitleType
Source§fn eq(&self, other: &AVSubtitleType) -> bool
fn eq(&self, other: &AVSubtitleType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AVSubtitleType
Auto Trait Implementations§
impl Freeze for AVSubtitleType
impl RefUnwindSafe for AVSubtitleType
impl Send for AVSubtitleType
impl Sync for AVSubtitleType
impl Unpin for AVSubtitleType
impl UnsafeUnpin for AVSubtitleType
impl UnwindSafe for AVSubtitleType
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