pub struct AudioBufferSourceOptions {
pub buffer: Option<AudioBuffer>,
pub playback_rate: f32,
pub detune: f32,
pub looping: bool,
pub loop_start: f64,
pub loop_end: f64,
}Fields§
§buffer: Option<AudioBuffer>§playback_rate: f32§detune: f32§looping: bool§loop_start: f64§loop_end: f64Trait 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 (const: unstable) · 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
Source§impl Default for AudioBufferSourceOptions
impl Default for AudioBufferSourceOptions
Source§impl PartialEq for AudioBufferSourceOptions
impl PartialEq for AudioBufferSourceOptions
Source§fn eq(&self, other: &AudioBufferSourceOptions) -> bool
fn eq(&self, other: &AudioBufferSourceOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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 UnsafeUnpin 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