Trait script::dom::bindings::codegen::Bindings::GainNodeBinding::GainNode_Binding::GainNodeMethods
source · pub trait GainNodeMethods<D: DomTypes> {
// Required methods
fn Gain(&self) -> Root<Dom<AudioParam>>;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
context: &BaseAudioContext,
options: &GainOptions,
) -> Result<Root<Dom<GainNode>>, Error>;
}
Required Methods§
fn Gain(&self) -> Root<Dom<AudioParam>>
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &BaseAudioContext, options: &GainOptions, ) -> Result<Root<Dom<GainNode>>, Error>
Object Safety§
This trait is not object safe.