pub struct AudioBufferSourceOptions {
pub buffer: Option<AudioBuffer>,
pub detune: f32,
pub loop_: bool,
pub loop_start: f64,
pub loop_end: f64,
pub playback_rate: f32,
}
Expand description
Options for constructing an AudioBufferSourceNode
Fields§
§buffer: Option<AudioBuffer>
§detune: f32
§loop_: bool
§loop_start: f64
§loop_end: f64
§playback_rate: f32
Trait Implementations§
Source§impl Clone for AudioBufferSourceOptions
impl Clone for AudioBufferSourceOptions
Source§fn clone(&self) -> AudioBufferSourceOptions
fn clone(&self) -> AudioBufferSourceOptions
Returns a duplicate 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 Debug for AudioBufferSourceOptions
impl Debug for AudioBufferSourceOptions
Auto Trait Implementations§
impl Freeze for AudioBufferSourceOptions
impl RefUnwindSafe for AudioBufferSourceOptions
impl Send for AudioBufferSourceOptions
impl Sync for AudioBufferSourceOptions
impl Unpin for AudioBufferSourceOptions
impl UnwindSafe for AudioBufferSourceOptions
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