pub struct Audio { /* 私有字段 */ }实现§
源代码§impl 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 unsafe fn as_ptr(&self) -> *const AVCodec
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 实现§
impl Copy for Audio
impl Eq for Audio
impl StructuralPartialEq for Audio
自动 trait 实现§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnsafeUnpin for Audio
impl UnwindSafe for Audio
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多