1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![allow(unused_imports)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `OscillatorType` enum."] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `OscillatorType`*"] #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum OscillatorType { Sine = "sine", Square = "square", Sawtooth = "sawtooth", Triangle = "triangle", Custom = "custom", }