pub trait OscillatorNodeMethods {
    // Required methods
    fn Type(&self) -> OscillatorType;
    fn SetType(&self, value: OscillatorType) -> Result<(), Error>;
    fn Frequency(&self) -> Root<Dom<AudioParam>>;
    fn Detune(&self) -> Root<Dom<AudioParam>>;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        context: &BaseAudioContext,
        options: &OscillatorOptions,
    ) -> Result<Root<Dom<OscillatorNode>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§