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§

source

fn Gain(&self) -> Root<Dom<AudioParam>>

source

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.

Implementors§