Enum ffmpeg_sys_next::AVSubtitleType
source · #[repr(u32)]pub enum AVSubtitleType {
SUBTITLE_NONE = 0,
SUBTITLE_BITMAP = 1,
SUBTITLE_TEXT = 2,
SUBTITLE_ASS = 3,
}
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 copy 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 AVSubtitleType
impl Debug 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVSubtitleType
impl Eq for AVSubtitleType
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 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