pub struct CodecDescriptor {
pub id: CodecId,
pub media_type: MediaType,
pub name: &'static str,
pub long_name: &'static str,
pub properties: CodecProperties,
pub profiles: &'static [Profile],
}Expand description
Codec descriptor, matching FFmpeg’s AVCodecDescriptor.
Fields§
§id: CodecId§media_type: MediaType§name: &'static str§long_name: &'static str§properties: CodecProperties§profiles: &'static [Profile]Trait Implementations§
Source§impl Clone for CodecDescriptor
impl Clone for CodecDescriptor
Source§fn clone(&self) -> CodecDescriptor
fn clone(&self) -> CodecDescriptor
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CodecDescriptor
impl RefUnwindSafe for CodecDescriptor
impl Send for CodecDescriptor
impl Sync for CodecDescriptor
impl Unpin for CodecDescriptor
impl UnsafeUnpin for CodecDescriptor
impl UnwindSafe for CodecDescriptor
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