pub struct DecoderCodec(/* private fields */);
Expand description
Implementations§
Source§impl DecoderCodec
impl DecoderCodec
Sourcepub const fn empty() -> Self
pub const fn empty() -> Self
Creates an empty DecoderCodec
.
Sourcepub const fn is_empty(&self) -> bool
pub const fn is_empty(&self) -> bool
Returns true if the DecoderCodec
is empty.
Sourcepub fn by_name(name: &str) -> Option<Self>
pub fn by_name(name: &str) -> Option<Self>
Creates a DecoderCodec
from a codec name.
Trait Implementations§
Source§impl Clone for DecoderCodec
impl Clone for DecoderCodec
Source§fn clone(&self) -> DecoderCodec
fn clone(&self) -> DecoderCodec
Returns a copy 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 moreSource§impl Debug for DecoderCodec
impl Debug for DecoderCodec
Source§impl From<DecoderCodec> for *const AVCodec
impl From<DecoderCodec> for *const AVCodec
Source§fn from(codec: DecoderCodec) -> Self
fn from(codec: DecoderCodec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecoderCodec
impl PartialEq for DecoderCodec
impl Copy for DecoderCodec
impl Eq for DecoderCodec
impl StructuralPartialEq for DecoderCodec
Auto Trait Implementations§
impl Freeze for DecoderCodec
impl RefUnwindSafe for DecoderCodec
impl !Send for DecoderCodec
impl !Sync for DecoderCodec
impl Unpin for DecoderCodec
impl UnwindSafe for DecoderCodec
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