#[repr(u32)]
#[non_exhaustive]
pub enum AVOptionType {
Show 19 variants
AV_OPT_TYPE_FLAGS,
AV_OPT_TYPE_INT,
AV_OPT_TYPE_INT64,
AV_OPT_TYPE_DOUBLE,
AV_OPT_TYPE_FLOAT,
AV_OPT_TYPE_STRING,
AV_OPT_TYPE_RATIONAL,
AV_OPT_TYPE_BINARY,
AV_OPT_TYPE_DICT,
AV_OPT_TYPE_UINT64,
AV_OPT_TYPE_CONST,
AV_OPT_TYPE_IMAGE_SIZE,
AV_OPT_TYPE_PIXEL_FMT,
AV_OPT_TYPE_SAMPLE_FMT,
AV_OPT_TYPE_VIDEO_RATE,
AV_OPT_TYPE_DURATION,
AV_OPT_TYPE_COLOR,
AV_OPT_TYPE_CHANNEL_LAYOUT,
AV_OPT_TYPE_BOOL,
}
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.
AV_OPT_TYPE_FLAGS
AV_OPT_TYPE_INT
AV_OPT_TYPE_INT64
AV_OPT_TYPE_DOUBLE
AV_OPT_TYPE_FLOAT
AV_OPT_TYPE_STRING
AV_OPT_TYPE_RATIONAL
AV_OPT_TYPE_BINARY
AV_OPT_TYPE_DICT
AV_OPT_TYPE_UINT64
AV_OPT_TYPE_CONST
AV_OPT_TYPE_IMAGE_SIZE
AV_OPT_TYPE_PIXEL_FMT
AV_OPT_TYPE_SAMPLE_FMT
AV_OPT_TYPE_VIDEO_RATE
AV_OPT_TYPE_DURATION
AV_OPT_TYPE_COLOR
AV_OPT_TYPE_CHANNEL_LAYOUT
AV_OPT_TYPE_BOOL
Trait Implementations§
source§impl Clone for AVOptionType
impl Clone for AVOptionType
source§fn clone(&self) -> AVOptionType
fn clone(&self) -> AVOptionType
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 AVOptionType
impl Debug for AVOptionType
source§impl Hash for AVOptionType
impl Hash for AVOptionType
source§impl PartialEq<AVOptionType> for AVOptionType
impl PartialEq<AVOptionType> for AVOptionType
source§fn eq(&self, other: &AVOptionType) -> bool
fn eq(&self, other: &AVOptionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.