#[repr(i32)]
#[non_exhaustive]
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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 ==
.