#[repr(C)]pub struct AVCodec {Show 15 fields
pub name: *const c_char,
pub long_name: *const c_char,
pub type_: AVMediaType,
pub id: AVCodecID,
pub capabilities: c_int,
pub max_lowres: u8,
pub supported_framerates: *const AVRational,
pub pix_fmts: *const AVPixelFormat,
pub supported_samplerates: *const c_int,
pub sample_fmts: *const AVSampleFormat,
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_: AVMediaType
§id: AVCodecID
§capabilities: c_int
§max_lowres: u8
§supported_framerates: *const AVRational
§pix_fmts: *const AVPixelFormat
§supported_samplerates: *const c_int
§sample_fmts: *const AVSampleFormat
§channel_layouts: *const u64
§priv_class: *const AVClass
§profiles: *const AVProfile
§wrapper_name: *const c_char
§ch_layouts: *const AVChannelLayout
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AVCodec
impl RefUnwindSafe for AVCodec
impl !Send for AVCodec
impl !Sync 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