Struct web_audio_api::node::GainOptions
source · pub struct GainOptions {
pub gain: f32,
pub channel_config: ChannelConfigOptions,
}Expand description
Options for constructing a GainNode
Fields
gain: f32channel_config: ChannelConfigOptionsTrait Implementations
sourceimpl Clone for GainOptions
impl Clone for GainOptions
sourcefn clone(&self) -> GainOptions
fn clone(&self) -> GainOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GainOptions
impl Debug for GainOptions
Auto Trait Implementations
impl RefUnwindSafe for GainOptions
impl Send for GainOptions
impl Sync for GainOptions
impl Unpin for GainOptions
impl UnwindSafe for GainOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more