Struct rsmpeg::ffi::AVCodecDescriptor [−][src]
#[repr(C)]pub struct AVCodecDescriptor { pub id: u32, pub type_: i32, pub name: *const i8, pub long_name: *const i8, pub props: i32, pub mime_types: *const *const i8, pub profiles: *const AVProfile, }
Expand description
This struct describes the properties of a single codec described by an AVCodecID. @see avcodec_descriptor_get()
Fields
id: u32
type_: i32
name: *const i8
Expand description
Name of the codec described by this descriptor. It is non-empty and unique for each codec descriptor. It should contain alphanumeric characters and ‘_’ only.
long_name: *const i8
Expand description
A more descriptive name for this codec. May be NULL.
props: i32
Expand description
Codec properties, a combination of AV_CODEC_PROP_* flags.
mime_types: *const *const i8
Expand description
MIME type(s) associated with the codec. May be NULL; if not, a NULL-terminated array of MIME types. The first item is always non-NULL and is the preferred MIME type.
profiles: *const AVProfile
Expand description
If non-NULL, an array of profiles recognized for this codec. Terminated with FF_PROFILE_UNKNOWN.
Trait Implementations
impl Clone for AVCodecDescriptor
[src]
impl Clone for AVCodecDescriptor
[src]pub fn clone(&self) -> AVCodecDescriptor
[src]
pub fn clone(&self) -> AVCodecDescriptor
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AVCodecDescriptor
[src]
impl Debug for AVCodecDescriptor
[src]impl Copy for AVCodecDescriptor
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVCodecDescriptor
impl !Send for AVCodecDescriptor
impl !Sync for AVCodecDescriptor
impl Unpin for AVCodecDescriptor
impl UnwindSafe for AVCodecDescriptor
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more