[−][src]Struct ffmpeg_next::codec::codec::Codec
Implementations
impl Codec
[src]
pub unsafe fn wrap(ptr: *mut AVCodec) -> Self
[src]
pub unsafe fn as_ptr(&self) -> *const AVCodec
[src]
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodec
[src]
impl Codec
[src]
pub fn is_encoder(&self) -> bool
[src]
pub fn is_decoder(&self) -> bool
[src]
pub fn name(&self) -> &str
[src]
pub fn description(&self) -> &str
[src]
pub fn medium(&self) -> Type
[src]
pub fn id(&self) -> Id
[src]
pub fn is_video(&self) -> bool
[src]
pub fn video(self) -> Result<Video, Error>
[src]
pub fn is_audio(&self) -> bool
[src]
pub fn audio(self) -> Result<Audio, Error>
[src]
pub fn max_lowres(&self) -> i32
[src]
pub fn capabilities(&self) -> Capabilities
[src]
pub fn profiles(&self) -> Option<ProfileIter>
[src]
Trait Implementations
impl Clone for Codec
[src]
impl Copy for Codec
[src]
impl Decoder for Codec
[src]
impl Encoder for Codec
[src]
impl Eq for Codec
[src]
impl PartialEq<Codec> for Codec
[src]
impl Send for Codec
[src]
impl StructuralEq for Codec
[src]
impl StructuralPartialEq for Codec
[src]
impl Sync for Codec
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,