#[repr(i32)]pub enum AVCodecConfig {
AV_CODEC_CONFIG_PIX_FORMAT = 0,
AV_CODEC_CONFIG_FRAME_RATE = 1,
AV_CODEC_CONFIG_SAMPLE_RATE = 2,
AV_CODEC_CONFIG_SAMPLE_FORMAT = 3,
AV_CODEC_CONFIG_CHANNEL_LAYOUT = 4,
AV_CODEC_CONFIG_COLOR_RANGE = 5,
AV_CODEC_CONFIG_COLOR_SPACE = 6,
AV_CODEC_CONFIG_ALPHA_MODE = 7,
}Variants§
AV_CODEC_CONFIG_PIX_FORMAT = 0
< AVPixelFormat, terminated by AV_PIX_FMT_NONE
AV_CODEC_CONFIG_FRAME_RATE = 1
< AVRational, terminated by {0, 0}
AV_CODEC_CONFIG_SAMPLE_RATE = 2
< int, terminated by 0
AV_CODEC_CONFIG_SAMPLE_FORMAT = 3
< AVSampleFormat, terminated by AV_SAMPLE_FMT_NONE
AV_CODEC_CONFIG_CHANNEL_LAYOUT = 4
< AVChannelLayout, terminated by {0}
AV_CODEC_CONFIG_COLOR_RANGE = 5
< AVColorRange, terminated by AVCOL_RANGE_UNSPECIFIED
AV_CODEC_CONFIG_COLOR_SPACE = 6
< AVColorSpace, terminated by AVCOL_SPC_UNSPECIFIED
AV_CODEC_CONFIG_ALPHA_MODE = 7
< AVAlphaMode, terminated by AVALPHA_MODE_UNSPECIFIED
trait 实现§
源代码§impl Clone for AVCodecConfig
impl Clone for AVCodecConfig
源代码§fn clone(&self) -> AVCodecConfig
fn clone(&self) -> AVCodecConfig
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVCodecConfig
impl Debug for AVCodecConfig
源代码§impl Hash for AVCodecConfig
impl Hash for AVCodecConfig
源代码§impl PartialEq for AVCodecConfig
impl PartialEq for AVCodecConfig
impl Copy for AVCodecConfig
impl Eq for AVCodecConfig
impl StructuralPartialEq for AVCodecConfig
自动 trait 实现§
impl Freeze for AVCodecConfig
impl RefUnwindSafe for AVCodecConfig
impl Send for AVCodecConfig
impl Sync for AVCodecConfig
impl Unpin for AVCodecConfig
impl UnsafeUnpin for AVCodecConfig
impl UnwindSafe for AVCodecConfig
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多