pub struct AudioBuffer {
pub sample_rate: u32,
pub channels: u16,
pub samples: Vec<AudioSample>,
}
Fields§
§sample_rate: u32
§channels: u16
§samples: Vec<AudioSample>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AudioBuffer
impl RefUnwindSafe for AudioBuffer
impl Send for AudioBuffer
impl Sync for AudioBuffer
impl Unpin for AudioBuffer
impl UnwindSafe for AudioBuffer
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