pub struct Audio { /* private fields */ }
Implementations
sourceimpl Audio
impl Audio
pub fn rates(&self) -> Option<RateIter>
pub fn formats(&self) -> Option<FormatIter>
pub fn channel_layouts(&self) -> Option<ChannelLayoutIter>
Methods from Deref<Target = 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 is_audio(&self) -> bool
pub fn max_lowres(&self) -> i32
pub fn capabilities(&self) -> Capabilities
pub fn profiles(&self) -> Option<ProfileIter>
Trait Implementations
impl Copy for Audio
impl Eq for Audio
impl StructuralEq for Audio
impl StructuralPartialEq for Audio
Auto Trait Implementations
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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