Skip to main content

web_sys/features/
gen_AudioDestinationNode.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "AudioNode",
9        extends = "EventTarget",
10        extends = "::js_sys::Object",
11        js_name = "AudioDestinationNode",
12        typescript_type = "AudioDestinationNode"
13    )]
14    #[derive(Debug, Clone, PartialEq, Eq)]
15    #[doc = "The `AudioDestinationNode` class."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`*"]
20    pub type AudioDestinationNode;
21    #[wasm_bindgen(
22        method,
23        getter,
24        js_class = "AudioDestinationNode",
25        js_name = "maxChannelCount"
26    )]
27    #[doc = "Getter for the `maxChannelCount` field of this object."]
28    #[doc = ""]
29    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount)"]
30    #[doc = ""]
31    #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`*"]
32    pub fn max_channel_count(this: &AudioDestinationNode) -> u32;
33}