#[repr(C)]pub struct AVCodec {Show 15 fields
pub name: *const c_char,
pub long_name: *const c_char,
pub type_: c_int,
pub id: c_uint,
pub capabilities: c_int,
pub max_lowres: u8,
pub supported_framerates: *const AVRational,
pub pix_fmts: *const c_int,
pub supported_samplerates: *const c_int,
pub sample_fmts: *const c_int,
pub channel_layouts: *const u64,
pub priv_class: *const AVClass,
pub profiles: *const AVProfile,
pub wrapper_name: *const c_char,
pub ch_layouts: *const AVChannelLayout,
}
Fields§
§name: *const c_char
§long_name: *const c_char
§type_: c_int
§id: c_uint
§capabilities: c_int
§max_lowres: u8
§supported_framerates: *const AVRational
§pix_fmts: *const c_int
§supported_samplerates: *const c_int
§sample_fmts: *const c_int
§channel_layouts: *const u64
§priv_class: *const AVClass
§profiles: *const AVProfile
§wrapper_name: *const c_char
§ch_layouts: *const AVChannelLayout
Trait Implementations§
impl Copy for AVCodec
impl Sync for AVCodec
SAFETY: AVCodec
instances are all static and thus safe to share.
Auto Trait Implementations§
impl RefUnwindSafe for AVCodec
impl !Send for AVCodec
impl Unpin for AVCodec
impl UnwindSafe for AVCodec
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