pub struct CodecDescriptor { /* private fields */ }Implementations§
Source§impl CodecDescriptor
impl CodecDescriptor
pub unsafe fn from_raw(ptr: *const AVCodecDescriptor) -> Option<Self>
pub fn as_ptr(self) -> *const AVCodecDescriptor
pub fn id(self) -> Id
pub fn kind(self) -> Type
pub fn name(self) -> &'static str
pub fn description(self) -> Option<&'static str>
pub fn props(self) -> CodecProperties
pub fn mime_types(self) -> Option<MimeTypeIter>
pub fn profiles(self) -> Option<ProfileIter>
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodecDescriptor
Source§impl Debug for CodecDescriptor
impl Debug for CodecDescriptor
impl Eq for CodecDescriptor
Source§impl PartialEq for CodecDescriptor
impl PartialEq for CodecDescriptor
Source§fn eq(&self, other: &CodecDescriptor) -> bool
fn eq(&self, other: &CodecDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodecDescriptor
Auto Trait Implementations§
impl !Send for CodecDescriptor
impl !Sync for CodecDescriptor
impl Freeze for CodecDescriptor
impl RefUnwindSafe 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