Enum ffmpeg_sys_next::AVMediaType
source · #[repr(i32)]
pub enum AVMediaType {
AVMEDIA_TYPE_UNKNOWN,
AVMEDIA_TYPE_VIDEO,
AVMEDIA_TYPE_AUDIO,
AVMEDIA_TYPE_DATA,
AVMEDIA_TYPE_SUBTITLE,
AVMEDIA_TYPE_ATTACHMENT,
AVMEDIA_TYPE_NB,
}Variants§
AVMEDIA_TYPE_UNKNOWN
AVMEDIA_TYPE_VIDEO
AVMEDIA_TYPE_AUDIO
AVMEDIA_TYPE_DATA
AVMEDIA_TYPE_SUBTITLE
AVMEDIA_TYPE_ATTACHMENT
AVMEDIA_TYPE_NB
Trait Implementations§
source§impl Clone for AVMediaType
impl Clone for AVMediaType
source§fn clone(&self) -> AVMediaType
fn clone(&self) -> AVMediaType
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 AVMediaType
impl Debug for AVMediaType
source§impl Hash for AVMediaType
impl Hash for AVMediaType
source§impl PartialEq<AVMediaType> for AVMediaType
impl PartialEq<AVMediaType> for AVMediaType
source§fn eq(&self, other: &AVMediaType) -> bool
fn eq(&self, other: &AVMediaType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.