Struct moa_host::AudioFrame
source · pub struct AudioFrame {
pub sample_rate: usize,
pub data: Vec<Sample>,
}
Fields§
§sample_rate: usize
§data: Vec<Sample>
Implementations§
Trait Implementations§
source§impl Clone for AudioFrame
impl Clone for AudioFrame
source§fn clone(&self) -> AudioFrame
fn clone(&self) -> AudioFrame
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AudioFrame
impl Default for AudioFrame
source§fn default() -> AudioFrame
fn default() -> AudioFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioFrame
impl RefUnwindSafe for AudioFrame
impl Send for AudioFrame
impl Sync for AudioFrame
impl Unpin 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