pub struct AudioFrame { /* private fields */ }Implementations§
Source§impl AudioFrame
impl AudioFrame
pub fn channel(&self, channel: i32) -> *const u8
pub fn channel_mut(&mut self, channel: i32) -> *mut u8
Sourcepub fn get_audio_format(&self) -> &AudioFormat
pub fn get_audio_format(&self) -> &AudioFormat
Returns the format of this audio frame.
pub fn frame_length(&self) -> i32
Trait Implementations§
Source§impl Clone for AudioFrame
impl Clone for AudioFrame
Source§impl Debug for AudioFrame
impl Debug for AudioFrame
Source§impl Drop for AudioFrame
impl Drop for AudioFrame
impl Eq for AudioFrame
Source§impl Frame for AudioFrame
impl Frame for AudioFrame
Source§impl Hash for AudioFrame
impl Hash for AudioFrame
Source§impl PartialEq for AudioFrame
impl PartialEq for AudioFrame
impl Send for AudioFrame
impl StructuralPartialEq for AudioFrame
Auto Trait Implementations§
impl !Sync for AudioFrame
impl Freeze for AudioFrame
impl RefUnwindSafe for AudioFrame
impl Unpin for AudioFrame
impl UnsafeUnpin for AudioFrame
impl UnwindSafe for AudioFrame
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