pub struct Codec { /* private fields */ }
Implementations
sourceimpl Codec
impl Codec
pub fn is_encoder(&self) -> bool
pub fn is_decoder(&self) -> bool
pub fn name(&self) -> &str
pub fn description(&self) -> &str
pub fn medium(&self) -> Type
pub fn id(&self) -> Id
pub fn is_video(&self) -> bool
pub fn video(self) -> Result<Video, Error>
pub fn is_audio(&self) -> bool
pub fn audio(self) -> Result<Audio, Error>
pub fn max_lowres(&self) -> i32
pub fn capabilities(&self) -> Capabilities
pub fn profiles(&self) -> Option<ProfileIter>
Trait Implementations
impl Copy for Codec
impl Eq for Codec
impl Send for Codec
impl StructuralEq for Codec
impl StructuralPartialEq for Codec
impl Sync for Codec
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more