pub struct GainOptions {
pub gain: f32,
pub audio_node_options: AudioNodeOptions,
}
Expand description
Options for constructing a GainNode
Fields§
§gain: f32
§audio_node_options: AudioNodeOptions
Trait Implementations§
Source§impl Clone for GainOptions
impl Clone for GainOptions
Source§fn clone(&self) -> GainOptions
fn clone(&self) -> GainOptions
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 GainOptions
impl Debug for GainOptions
Auto Trait Implementations§
impl Freeze for GainOptions
impl RefUnwindSafe for GainOptions
impl Send for GainOptions
impl Sync for GainOptions
impl Unpin for GainOptions
impl UnwindSafe for GainOptions
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