mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-07 13:43:03 +03:00
Fix two cases of non-deterministic iteration (#2304)
* Fix two cases of non-deterministic iteration This commit fixes an issue of nondeterministic JS generation when closures were used, updating a few iterations of hash maps to iterate in a sorted manner rather than via the raw internal order. Closes #2302 * Reformat web-sys with latest proc-macro
This commit is contained in:
parent
c34606e274
commit
1ca54f2719
@ -116,7 +116,10 @@ impl WasmBindgenDescriptorsSection {
|
||||
// freshly manufactured import. Save off the type of this import in
|
||||
// ourselves, and then we're good to go.
|
||||
let ty = module.funcs.get(wbindgen_describe_closure).ty();
|
||||
for (func, descriptor) in func_to_descriptor {
|
||||
// sort to ensure ids and caches are consistent across runs
|
||||
let mut items = func_to_descriptor.into_iter().collect::<Vec<_>>();
|
||||
items.sort_by_key(|i| i.0);
|
||||
for (func, descriptor) in items {
|
||||
// This uses a cache so that if the same closure exists multiple times it will
|
||||
// deduplicate it so it only exists once.
|
||||
let id = match self.cached_closures.get(&descriptor) {
|
||||
|
@ -183,13 +183,13 @@ impl<'a> Context<'a> {
|
||||
// Finally we store all this metadata in the import map which we've
|
||||
// learned so when a binding for the import is generated we can
|
||||
// generate all the appropriate shims.
|
||||
for (id, descriptor) in closure_imports {
|
||||
for (id, descriptor) in crate::sorted_iter(&closure_imports) {
|
||||
let signature = Function {
|
||||
shim_idx: 0,
|
||||
arguments: vec![Descriptor::I32; 3],
|
||||
ret: Descriptor::Externref,
|
||||
};
|
||||
let id = self.import_adapter(id, signature, AdapterJsImportKind::Normal)?;
|
||||
let id = self.import_adapter(*id, signature, AdapterJsImportKind::Normal)?;
|
||||
// Synthesize the two integer pointers we pass through which
|
||||
// aren't present in the signature but are present in the wasm
|
||||
// signature.
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AbortController` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
|
||||
pub type AbortController;
|
||||
#[cfg(feature = "AbortSignal")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortController" , js_name = signal ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AbortController" , js_name = signal)]
|
||||
#[doc = "Getter for the `signal` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal)"]
|
||||
@ -26,7 +26,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
|
||||
pub fn new() -> Result<AbortController, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AbortController" , js_name = abort ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AbortController" , js_name = abort)]
|
||||
#[doc = "The `abort()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AbortSignal` class."]
|
||||
#[doc = ""]
|
||||
@ -11,21 +11,21 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
|
||||
pub type AbortSignal;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortSignal" , js_name = aborted ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = aborted)]
|
||||
#[doc = "Getter for the `aborted` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
|
||||
pub fn aborted(this: &AbortSignal) -> bool;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortSignal" , js_name = onabort ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = onabort)]
|
||||
#[doc = "Getter for the `onabort` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
|
||||
pub fn onabort(this: &AbortSignal) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AbortSignal" , js_name = onabort ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AbortSignal" , js_name = onabort)]
|
||||
#[doc = "Setter for the `onabort` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AddEventListenerOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AddEventListenerOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AddEventListenerOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCbcParams ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCbcParams)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesCbcParams` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCtrParams ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCtrParams)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesCtrParams` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesDerivedKeyParams ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesDerivedKeyParams)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesDerivedKeyParams` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesGcmParams ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesGcmParams)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesGcmParams` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyAlgorithm ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyAlgorithm)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesKeyAlgorithm` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyGenParams ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyGenParams)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AesKeyGenParams` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Algorithm ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Algorithm)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Algorithm` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AnalyserNode , typescript_type = "AnalyserNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AnalyserNode , typescript_type = "AnalyserNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnalyserNode` class."]
|
||||
#[doc = ""]
|
||||
@ -11,63 +11,63 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub type AnalyserNode;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = fftSize ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = fftSize)]
|
||||
#[doc = "Getter for the `fftSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn fft_size(this: &AnalyserNode) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = fftSize ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = fftSize)]
|
||||
#[doc = "Setter for the `fftSize` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn set_fft_size(this: &AnalyserNode, value: u32);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = frequencyBinCount ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = frequencyBinCount)]
|
||||
#[doc = "Getter for the `frequencyBinCount` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/frequencyBinCount)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn frequency_bin_count(this: &AnalyserNode) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = minDecibels ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = minDecibels)]
|
||||
#[doc = "Getter for the `minDecibels` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn min_decibels(this: &AnalyserNode) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = minDecibels ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = minDecibels)]
|
||||
#[doc = "Setter for the `minDecibels` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn set_min_decibels(this: &AnalyserNode, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = maxDecibels ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = maxDecibels)]
|
||||
#[doc = "Getter for the `maxDecibels` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn max_decibels(this: &AnalyserNode) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = maxDecibels ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = maxDecibels)]
|
||||
#[doc = "Setter for the `maxDecibels` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn set_max_decibels(this: &AnalyserNode, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
|
||||
#[doc = "Getter for the `smoothingTimeConstant` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn smoothing_time_constant(this: &AnalyserNode) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
|
||||
#[doc = "Setter for the `smoothingTimeConstant` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
|
||||
@ -93,28 +93,28 @@ extern "C" {
|
||||
context: &BaseAudioContext,
|
||||
options: &AnalyserOptions,
|
||||
) -> Result<AnalyserNode, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData)]
|
||||
#[doc = "The `getByteFrequencyData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn get_byte_frequency_data(this: &AnalyserNode, array: &mut [u8]);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getByteTimeDomainData ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteTimeDomainData)]
|
||||
#[doc = "The `getByteTimeDomainData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteTimeDomainData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn get_byte_time_domain_data(this: &AnalyserNode, array: &mut [u8]);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getFloatFrequencyData ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatFrequencyData)]
|
||||
#[doc = "The `getFloatFrequencyData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
|
||||
pub fn get_float_frequency_data(this: &AnalyserNode, array: &mut [f32]);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getFloatTimeDomainData ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatTimeDomainData)]
|
||||
#[doc = "The `getFloatTimeDomainData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnalyserOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnalyserOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnalyserOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays" ) ]
|
||||
# [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AngleInstancedArrays` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
|
||||
pub type AngleInstancedArrays;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE)]
|
||||
#[doc = "The `drawArraysInstancedANGLE()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)"]
|
||||
@ -24,7 +24,7 @@ extern "C" {
|
||||
count: i32,
|
||||
primcount: i32,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
|
||||
#[doc = "The `drawElementsInstancedANGLE()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
|
||||
@ -38,7 +38,7 @@ extern "C" {
|
||||
offset: i32,
|
||||
primcount: i32,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
|
||||
#[doc = "The `drawElementsInstancedANGLE()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
|
||||
@ -52,7 +52,7 @@ extern "C" {
|
||||
offset: f64,
|
||||
primcount: i32,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE)]
|
||||
#[doc = "The `vertexAttribDivisorANGLE()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Animation , typescript_type = "Animation" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Animation , typescript_type = "Animation")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Animation` class."]
|
||||
#[doc = ""]
|
||||
@ -11,14 +11,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub type Animation;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = id ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = id)]
|
||||
#[doc = "Getter for the `id` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn id(this: &Animation) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = id ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = id)]
|
||||
#[doc = "Setter for the `id` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)"]
|
||||
@ -26,7 +26,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn set_id(this: &Animation, value: &str);
|
||||
#[cfg(feature = "AnimationEffect")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = effect ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = effect)]
|
||||
#[doc = "Getter for the `effect` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)"]
|
||||
@ -34,7 +34,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"]
|
||||
pub fn effect(this: &Animation) -> Option<AnimationEffect>;
|
||||
#[cfg(feature = "AnimationEffect")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = effect ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = effect)]
|
||||
#[doc = "Setter for the `effect` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)"]
|
||||
@ -42,7 +42,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"]
|
||||
pub fn set_effect(this: &Animation, value: Option<&AnimationEffect>);
|
||||
#[cfg(feature = "AnimationTimeline")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = timeline ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = timeline)]
|
||||
#[doc = "Getter for the `timeline` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)"]
|
||||
@ -50,49 +50,49 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*"]
|
||||
pub fn timeline(this: &Animation) -> Option<AnimationTimeline>;
|
||||
#[cfg(feature = "AnimationTimeline")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = timeline ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = timeline)]
|
||||
#[doc = "Setter for the `timeline` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*"]
|
||||
pub fn set_timeline(this: &Animation, value: Option<&AnimationTimeline>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = startTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = startTime)]
|
||||
#[doc = "Getter for the `startTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn start_time(this: &Animation) -> Option<f64>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = startTime ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = startTime)]
|
||||
#[doc = "Setter for the `startTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn set_start_time(this: &Animation, value: Option<f64>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn current_time(this: &Animation) -> Option<f64>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = currentTime)]
|
||||
#[doc = "Setter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn set_current_time(this: &Animation, value: Option<f64>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = playbackRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = playbackRate)]
|
||||
#[doc = "Getter for the `playbackRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn playback_rate(this: &Animation) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = playbackRate ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = playbackRate)]
|
||||
#[doc = "Setter for the `playbackRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)"]
|
||||
@ -100,56 +100,56 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn set_playback_rate(this: &Animation, value: f64);
|
||||
#[cfg(feature = "AnimationPlayState")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = playState ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = playState)]
|
||||
#[doc = "Getter for the `playState` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playState)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationPlayState`*"]
|
||||
pub fn play_state(this: &Animation) -> AnimationPlayState;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = pending ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = pending)]
|
||||
#[doc = "Getter for the `pending` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn pending(this: &Animation) -> bool;
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "Animation" , js_name = ready ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "Animation" , js_name = ready)]
|
||||
#[doc = "Getter for the `ready` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/ready)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn ready(this: &Animation) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "Animation" , js_name = finished ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "Animation" , js_name = finished)]
|
||||
#[doc = "Getter for the `finished` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finished)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn finished(this: &Animation) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = onfinish ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = onfinish)]
|
||||
#[doc = "Getter for the `onfinish` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn onfinish(this: &Animation) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = onfinish ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = onfinish)]
|
||||
#[doc = "Setter for the `onfinish` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn set_onfinish(this: &Animation, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = oncancel ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = oncancel)]
|
||||
#[doc = "Getter for the `oncancel` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn oncancel(this: &Animation) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = oncancel ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = oncancel)]
|
||||
#[doc = "Setter for the `oncancel` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)"]
|
||||
@ -182,42 +182,42 @@ extern "C" {
|
||||
effect: Option<&AnimationEffect>,
|
||||
timeline: Option<&AnimationTimeline>,
|
||||
) -> Result<Animation, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Animation" , js_name = cancel ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Animation" , js_name = cancel)]
|
||||
#[doc = "The `cancel()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/cancel)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn cancel(this: &Animation);
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Animation" , js_name = finish ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = finish)]
|
||||
#[doc = "The `finish()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finish)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn finish(this: &Animation) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Animation" , js_name = pause ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = pause)]
|
||||
#[doc = "The `pause()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pause)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn pause(this: &Animation) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Animation" , js_name = play ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = play)]
|
||||
#[doc = "The `play()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/play)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn play(this: &Animation) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Animation" , js_name = reverse ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = reverse)]
|
||||
#[doc = "The `reverse()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/reverse)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Animation`*"]
|
||||
pub fn reverse(this: &Animation) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Animation" , js_name = updatePlaybackRate ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Animation" , js_name = updatePlaybackRate)]
|
||||
#[doc = "The `updatePlaybackRate()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/updatePlaybackRate)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationEffect , typescript_type = "AnimationEffect" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEffect , typescript_type = "AnimationEffect")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationEffect` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEffect`*"]
|
||||
pub type AnimationEffect;
|
||||
#[cfg(feature = "ComputedEffectTiming")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnimationEffect" , js_name = getComputedTiming ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnimationEffect" , js_name = getComputedTiming)]
|
||||
#[doc = "The `getComputedTiming()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getComputedTiming)"]
|
||||
@ -20,14 +20,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEffect`, `ComputedEffectTiming`*"]
|
||||
pub fn get_computed_timing(this: &AnimationEffect) -> ComputedEffectTiming;
|
||||
#[cfg(feature = "EffectTiming")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AnimationEffect" , js_name = getTiming ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AnimationEffect" , js_name = getTiming)]
|
||||
#[doc = "The `getTiming()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getTiming)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEffect`, `EffectTiming`*"]
|
||||
pub fn get_timing(this: &AnimationEffect) -> EffectTiming;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming)]
|
||||
#[doc = "The `updateTiming()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)"]
|
||||
@ -35,7 +35,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEffect`*"]
|
||||
pub fn update_timing(this: &AnimationEffect) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "OptionalEffectTiming")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming)]
|
||||
#[doc = "The `updateTiming()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AnimationEvent , typescript_type = "AnimationEvent" ) ]
|
||||
# [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationEvent , typescript_type = "AnimationEvent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationEvent` class."]
|
||||
#[doc = ""]
|
||||
@ -11,21 +11,21 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
|
||||
pub type AnimationEvent;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationEvent" , js_name = animationName ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = animationName)]
|
||||
#[doc = "Getter for the `animationName` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
|
||||
pub fn animation_name(this: &AnimationEvent) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationEvent" , js_name = elapsedTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = elapsedTime)]
|
||||
#[doc = "Getter for the `elapsedTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
|
||||
pub fn elapsed_time(this: &AnimationEvent) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationEvent" , js_name = pseudoElement ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = pseudoElement)]
|
||||
#[doc = "Getter for the `pseudoElement` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationEventInit ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEventInit)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationEventInit` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AnimationPlaybackEvent , typescript_type = "AnimationPlaybackEvent" ) ]
|
||||
# [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationPlaybackEvent , typescript_type = "AnimationPlaybackEvent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationPlaybackEvent` class."]
|
||||
#[doc = ""]
|
||||
@ -11,14 +11,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
|
||||
pub type AnimationPlaybackEvent;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/currentTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
|
||||
pub fn current_time(this: &AnimationPlaybackEvent) -> Option<f64>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = timelineTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = timelineTime)]
|
||||
#[doc = "Getter for the `timelineTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/timelineTime)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPlaybackEventInit ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPlaybackEventInit)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationPlaybackEventInit` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPropertyDetails ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyDetails)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationPropertyDetails` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPropertyValueDetails ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyValueDetails)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationPropertyValueDetails` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationTimeline , typescript_type = "AnimationTimeline" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationTimeline , typescript_type = "AnimationTimeline")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AnimationTimeline` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnimationTimeline`*"]
|
||||
pub type AnimationTimeline;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AnimationTimeline" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AnimationTimeline" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline/currentTime)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AssignedNodesOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AssignedNodesOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AssignedNodesOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Attr , typescript_type = "Attr" ) ]
|
||||
# [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Attr , typescript_type = "Attr")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Attr` class."]
|
||||
#[doc = ""]
|
||||
@ -11,49 +11,49 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub type Attr;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = localName ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = localName)]
|
||||
#[doc = "Getter for the `localName` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn local_name(this: &Attr) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = value ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = value)]
|
||||
#[doc = "Getter for the `value` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn value(this: &Attr) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "Attr" , js_name = value ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "Attr" , js_name = value)]
|
||||
#[doc = "Setter for the `value` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn set_value(this: &Attr, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = name ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = name)]
|
||||
#[doc = "Getter for the `name` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn name(this: &Attr) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = namespaceURI ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = namespaceURI)]
|
||||
#[doc = "Getter for the `namespaceURI` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn namespace_uri(this: &Attr) -> Option<String>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = prefix ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = prefix)]
|
||||
#[doc = "Getter for the `prefix` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Attr`*"]
|
||||
pub fn prefix(this: &Attr) -> Option<String>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = specified ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = specified)]
|
||||
#[doc = "Getter for the `specified` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/specified)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AttributeNameValue ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AttributeNameValue)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AttributeNameValue` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBuffer , typescript_type = "AudioBuffer" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBuffer , typescript_type = "AudioBuffer")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioBuffer` class."]
|
||||
#[doc = ""]
|
||||
@ -11,28 +11,28 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
|
||||
pub type AudioBuffer;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBuffer" , js_name = sampleRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = sampleRate)]
|
||||
#[doc = "Getter for the `sampleRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/sampleRate)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
|
||||
pub fn sample_rate(this: &AudioBuffer) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBuffer" , js_name = length ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = length)]
|
||||
#[doc = "Getter for the `length` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/length)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
|
||||
pub fn length(this: &AudioBuffer) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBuffer" , js_name = duration ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = duration)]
|
||||
#[doc = "Getter for the `duration` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/duration)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
|
||||
pub fn duration(this: &AudioBuffer) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBuffer" , js_name = numberOfChannels ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = numberOfChannels)]
|
||||
#[doc = "Getter for the `numberOfChannels` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/numberOfChannels)"]
|
||||
@ -47,7 +47,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferOptions`*"]
|
||||
pub fn new(options: &AudioBufferOptions) -> Result<AudioBuffer, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel)]
|
||||
#[doc = "The `copyFromChannel()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)"]
|
||||
@ -58,7 +58,7 @@ extern "C" {
|
||||
destination: &mut [f32],
|
||||
channel_number: i32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel)]
|
||||
#[doc = "The `copyFromChannel()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)"]
|
||||
@ -70,7 +70,7 @@ extern "C" {
|
||||
channel_number: i32,
|
||||
start_in_channel: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel)]
|
||||
#[doc = "The `copyToChannel()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)"]
|
||||
@ -81,7 +81,7 @@ extern "C" {
|
||||
source: &mut [f32],
|
||||
channel_number: i32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel)]
|
||||
#[doc = "The `copyToChannel()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)"]
|
||||
@ -93,7 +93,7 @@ extern "C" {
|
||||
channel_number: i32,
|
||||
start_in_channel: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = getChannelData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = getChannelData)]
|
||||
#[doc = "The `getChannelData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/getChannelData)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBufferOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioBufferOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioScheduledSourceNode , extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioBufferSourceNode , typescript_type = "AudioBufferSourceNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioScheduledSourceNode , extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioBufferSourceNode , typescript_type = "AudioBufferSourceNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioBufferSourceNode` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub type AudioBufferSourceNode;
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = buffer ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = buffer)]
|
||||
#[doc = "Getter for the `buffer` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)"]
|
||||
@ -20,7 +20,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*"]
|
||||
pub fn buffer(this: &AudioBufferSourceNode) -> Option<AudioBuffer>;
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = buffer ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = buffer)]
|
||||
#[doc = "Setter for the `buffer` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)"]
|
||||
@ -28,7 +28,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*"]
|
||||
pub fn set_buffer(this: &AudioBufferSourceNode, value: Option<&AudioBuffer>);
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = playbackRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = playbackRate)]
|
||||
#[doc = "Getter for the `playbackRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate)"]
|
||||
@ -36,63 +36,63 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*"]
|
||||
pub fn playback_rate(this: &AudioBufferSourceNode) -> AudioParam;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = detune ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = detune)]
|
||||
#[doc = "Getter for the `detune` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*"]
|
||||
pub fn detune(this: &AudioBufferSourceNode) -> AudioParam;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loop ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loop)]
|
||||
#[doc = "Getter for the `loop` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn loop_(this: &AudioBufferSourceNode) -> bool;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loop ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loop)]
|
||||
#[doc = "Setter for the `loop` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn set_loop(this: &AudioBufferSourceNode, value: bool);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopStart ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopStart)]
|
||||
#[doc = "Getter for the `loopStart` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn loop_start(this: &AudioBufferSourceNode) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopStart ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopStart)]
|
||||
#[doc = "Setter for the `loopStart` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn set_loop_start(this: &AudioBufferSourceNode, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopEnd ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopEnd)]
|
||||
#[doc = "Getter for the `loopEnd` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn loop_end(this: &AudioBufferSourceNode) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopEnd ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopEnd)]
|
||||
#[doc = "Setter for the `loopEnd` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn set_loop_end(this: &AudioBufferSourceNode, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = onended ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = onended)]
|
||||
#[doc = "Getter for the `onended` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn onended(this: &AudioBufferSourceNode) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = onended ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = onended)]
|
||||
#[doc = "Setter for the `onended` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)"]
|
||||
@ -118,21 +118,21 @@ extern "C" {
|
||||
context: &BaseAudioContext,
|
||||
options: &AudioBufferSourceOptions,
|
||||
) -> Result<AudioBufferSourceNode, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn start(this: &AudioBufferSourceNode) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn start_with_when(this: &AudioBufferSourceNode, when: f64) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
|
||||
@ -143,7 +143,7 @@ extern "C" {
|
||||
when: f64,
|
||||
grain_offset: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
|
||||
@ -155,14 +155,14 @@ extern "C" {
|
||||
grain_offset: f64,
|
||||
grain_duration: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop)]
|
||||
#[doc = "The `stop()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
|
||||
pub fn stop(this: &AudioBufferSourceNode) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop)]
|
||||
#[doc = "The `stop()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBufferSourceOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferSourceOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioBufferSourceOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioConfiguration ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioConfiguration)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioConfiguration` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( vendor_prefix = webkit , extends = BaseAudioContext , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioContext , typescript_type = "AudioContext" ) ]
|
||||
# [wasm_bindgen (vendor_prefix = webkit , extends = BaseAudioContext , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioContext , typescript_type = "AudioContext")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioContext` class."]
|
||||
#[doc = ""]
|
||||
@ -12,21 +12,21 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub type AudioContext;
|
||||
#[cfg(feature = "AudioDestinationNode")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = destination ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = destination)]
|
||||
#[doc = "Getter for the `destination` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/destination)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioDestinationNode`*"]
|
||||
pub fn destination(this: &AudioContext) -> AudioDestinationNode;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = sampleRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = sampleRate)]
|
||||
#[doc = "Getter for the `sampleRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/sampleRate)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub fn sample_rate(this: &AudioContext) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/currentTime)"]
|
||||
@ -34,7 +34,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub fn current_time(this: &AudioContext) -> f64;
|
||||
#[cfg(feature = "AudioListener")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = listener ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = listener)]
|
||||
#[doc = "Getter for the `listener` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/listener)"]
|
||||
@ -42,7 +42,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioListener`*"]
|
||||
pub fn listener(this: &AudioContext) -> AudioListener;
|
||||
#[cfg(feature = "AudioContextState")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = state ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = state)]
|
||||
#[doc = "Getter for the `state` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/state)"]
|
||||
@ -50,21 +50,21 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioContextState`*"]
|
||||
pub fn state(this: &AudioContext) -> AudioContextState;
|
||||
#[cfg(feature = "AudioWorklet")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioContext" , js_name = audioWorklet ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioContext" , js_name = audioWorklet)]
|
||||
#[doc = "Getter for the `audioWorklet` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/audioWorklet)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioWorklet`*"]
|
||||
pub fn audio_worklet(this: &AudioContext) -> Result<AudioWorklet, JsValue>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = onstatechange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = onstatechange)]
|
||||
#[doc = "Getter for the `onstatechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub fn onstatechange(this: &AudioContext) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioContext" , js_name = onstatechange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioContext" , js_name = onstatechange)]
|
||||
#[doc = "Setter for the `onstatechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)"]
|
||||
@ -88,7 +88,7 @@ extern "C" {
|
||||
pub fn new_with_context_options(
|
||||
context_options: &AudioContextOptions,
|
||||
) -> Result<AudioContext, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = close ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = close)]
|
||||
#[doc = "The `close()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/close)"]
|
||||
@ -96,7 +96,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub fn close(this: &AudioContext) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[cfg(all(feature = "HtmlMediaElement", feature = "MediaElementAudioSourceNode",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createMediaElementSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaElementSource)]
|
||||
#[doc = "The `createMediaElementSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaElementSource)"]
|
||||
@ -107,7 +107,7 @@ extern "C" {
|
||||
media_element: &HtmlMediaElement,
|
||||
) -> Result<MediaElementAudioSourceNode, JsValue>;
|
||||
#[cfg(feature = "MediaStreamAudioDestinationNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamDestination ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamDestination)]
|
||||
#[doc = "The `createMediaStreamDestination()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination)"]
|
||||
@ -117,7 +117,7 @@ extern "C" {
|
||||
this: &AudioContext,
|
||||
) -> Result<MediaStreamAudioDestinationNode, JsValue>;
|
||||
#[cfg(all(feature = "MediaStream", feature = "MediaStreamAudioSourceNode",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamSource)]
|
||||
#[doc = "The `createMediaStreamSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamSource)"]
|
||||
@ -127,7 +127,7 @@ extern "C" {
|
||||
this: &AudioContext,
|
||||
media_stream: &MediaStream,
|
||||
) -> Result<MediaStreamAudioSourceNode, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = suspend ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = suspend)]
|
||||
#[doc = "The `suspend()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/suspend)"]
|
||||
@ -135,7 +135,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
|
||||
pub fn suspend(this: &AudioContext) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[cfg(feature = "AnalyserNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createAnalyser ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createAnalyser)]
|
||||
#[doc = "The `createAnalyser()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createAnalyser)"]
|
||||
@ -143,7 +143,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `AudioContext`*"]
|
||||
pub fn create_analyser(this: &AudioContext) -> Result<AnalyserNode, JsValue>;
|
||||
#[cfg(feature = "BiquadFilterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBiquadFilter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBiquadFilter)]
|
||||
#[doc = "The `createBiquadFilter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBiquadFilter)"]
|
||||
@ -151,7 +151,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `BiquadFilterNode`*"]
|
||||
pub fn create_biquad_filter(this: &AudioContext) -> Result<BiquadFilterNode, JsValue>;
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBuffer ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBuffer)]
|
||||
#[doc = "The `createBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBuffer)"]
|
||||
@ -164,7 +164,7 @@ extern "C" {
|
||||
sample_rate: f32,
|
||||
) -> Result<AudioBuffer, JsValue>;
|
||||
#[cfg(feature = "AudioBufferSourceNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBufferSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBufferSource)]
|
||||
#[doc = "The `createBufferSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBufferSource)"]
|
||||
@ -172,7 +172,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioContext`*"]
|
||||
pub fn create_buffer_source(this: &AudioContext) -> Result<AudioBufferSourceNode, JsValue>;
|
||||
#[cfg(feature = "ChannelMergerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger)]
|
||||
#[doc = "The `createChannelMerger()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)"]
|
||||
@ -180,7 +180,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*"]
|
||||
pub fn create_channel_merger(this: &AudioContext) -> Result<ChannelMergerNode, JsValue>;
|
||||
#[cfg(feature = "ChannelMergerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger)]
|
||||
#[doc = "The `createChannelMerger()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)"]
|
||||
@ -191,7 +191,7 @@ extern "C" {
|
||||
number_of_inputs: u32,
|
||||
) -> Result<ChannelMergerNode, JsValue>;
|
||||
#[cfg(feature = "ChannelSplitterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter)]
|
||||
#[doc = "The `createChannelSplitter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)"]
|
||||
@ -199,7 +199,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*"]
|
||||
pub fn create_channel_splitter(this: &AudioContext) -> Result<ChannelSplitterNode, JsValue>;
|
||||
#[cfg(feature = "ChannelSplitterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter)]
|
||||
#[doc = "The `createChannelSplitter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)"]
|
||||
@ -210,7 +210,7 @@ extern "C" {
|
||||
number_of_outputs: u32,
|
||||
) -> Result<ChannelSplitterNode, JsValue>;
|
||||
#[cfg(feature = "ConstantSourceNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createConstantSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createConstantSource)]
|
||||
#[doc = "The `createConstantSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConstantSource)"]
|
||||
@ -218,7 +218,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConstantSourceNode`*"]
|
||||
pub fn create_constant_source(this: &AudioContext) -> Result<ConstantSourceNode, JsValue>;
|
||||
#[cfg(feature = "ConvolverNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createConvolver ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createConvolver)]
|
||||
#[doc = "The `createConvolver()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConvolver)"]
|
||||
@ -226,7 +226,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConvolverNode`*"]
|
||||
pub fn create_convolver(this: &AudioContext) -> Result<ConvolverNode, JsValue>;
|
||||
#[cfg(feature = "DelayNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDelay ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDelay)]
|
||||
#[doc = "The `createDelay()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)"]
|
||||
@ -234,7 +234,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*"]
|
||||
pub fn create_delay(this: &AudioContext) -> Result<DelayNode, JsValue>;
|
||||
#[cfg(feature = "DelayNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDelay ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDelay)]
|
||||
#[doc = "The `createDelay()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)"]
|
||||
@ -245,7 +245,7 @@ extern "C" {
|
||||
max_delay_time: f64,
|
||||
) -> Result<DelayNode, JsValue>;
|
||||
#[cfg(feature = "DynamicsCompressorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDynamicsCompressor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDynamicsCompressor)]
|
||||
#[doc = "The `createDynamicsCompressor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDynamicsCompressor)"]
|
||||
@ -255,7 +255,7 @@ extern "C" {
|
||||
this: &AudioContext,
|
||||
) -> Result<DynamicsCompressorNode, JsValue>;
|
||||
#[cfg(feature = "GainNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createGain ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createGain)]
|
||||
#[doc = "The `createGain()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createGain)"]
|
||||
@ -263,7 +263,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `GainNode`*"]
|
||||
pub fn create_gain(this: &AudioContext) -> Result<GainNode, JsValue>;
|
||||
#[cfg(feature = "IirFilterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createIIRFilter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createIIRFilter)]
|
||||
#[doc = "The `createIIRFilter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createIIRFilter)"]
|
||||
@ -275,7 +275,7 @@ extern "C" {
|
||||
feedback: &::wasm_bindgen::JsValue,
|
||||
) -> Result<IirFilterNode, JsValue>;
|
||||
#[cfg(feature = "OscillatorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createOscillator ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createOscillator)]
|
||||
#[doc = "The `createOscillator()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createOscillator)"]
|
||||
@ -283,7 +283,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `OscillatorNode`*"]
|
||||
pub fn create_oscillator(this: &AudioContext) -> Result<OscillatorNode, JsValue>;
|
||||
#[cfg(feature = "PannerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPanner ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPanner)]
|
||||
#[doc = "The `createPanner()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPanner)"]
|
||||
@ -291,7 +291,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `PannerNode`*"]
|
||||
pub fn create_panner(this: &AudioContext) -> Result<PannerNode, JsValue>;
|
||||
#[cfg(feature = "PeriodicWave")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave)]
|
||||
#[doc = "The `createPeriodicWave()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)"]
|
||||
@ -303,7 +303,7 @@ extern "C" {
|
||||
imag: &mut [f32],
|
||||
) -> Result<PeriodicWave, JsValue>;
|
||||
#[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave)]
|
||||
#[doc = "The `createPeriodicWave()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)"]
|
||||
@ -316,7 +316,7 @@ extern "C" {
|
||||
constraints: &PeriodicWaveConstraints,
|
||||
) -> Result<PeriodicWave, JsValue>;
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
|
||||
@ -324,7 +324,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"]
|
||||
pub fn create_script_processor(this: &AudioContext) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
|
||||
@ -335,7 +335,7 @@ extern "C" {
|
||||
buffer_size: u32,
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
|
||||
@ -347,7 +347,7 @@ extern "C" {
|
||||
number_of_input_channels: u32,
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
|
||||
@ -360,7 +360,7 @@ extern "C" {
|
||||
number_of_output_channels: u32,
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[cfg(feature = "StereoPannerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createStereoPanner ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createStereoPanner)]
|
||||
#[doc = "The `createStereoPanner()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createStereoPanner)"]
|
||||
@ -368,14 +368,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `StereoPannerNode`*"]
|
||||
pub fn create_stereo_panner(this: &AudioContext) -> Result<StereoPannerNode, JsValue>;
|
||||
#[cfg(feature = "WaveShaperNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createWaveShaper ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createWaveShaper)]
|
||||
#[doc = "The `createWaveShaper()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createWaveShaper)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioContext`, `WaveShaperNode`*"]
|
||||
pub fn create_wave_shaper(this: &AudioContext) -> Result<WaveShaperNode, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
|
||||
@ -385,7 +385,7 @@ extern "C" {
|
||||
this: &AudioContext,
|
||||
audio_data: &::js_sys::ArrayBuffer,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
|
||||
@ -396,7 +396,7 @@ extern "C" {
|
||||
audio_data: &::js_sys::ArrayBuffer,
|
||||
success_callback: &::js_sys::Function,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
|
||||
@ -408,7 +408,7 @@ extern "C" {
|
||||
success_callback: &::js_sys::Function,
|
||||
error_callback: &::js_sys::Function,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = resume ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = resume)]
|
||||
#[doc = "The `resume()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/resume)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioContextOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioContextOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioContextOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioDestinationNode , typescript_type = "AudioDestinationNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioDestinationNode , typescript_type = "AudioDestinationNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioDestinationNode` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`*"]
|
||||
pub type AudioDestinationNode;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioDestinationNode" , js_name = maxChannelCount ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioDestinationNode" , js_name = maxChannelCount)]
|
||||
#[doc = "Getter for the `maxChannelCount` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioListener` class."]
|
||||
#[doc = ""]
|
||||
@ -11,35 +11,35 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub type AudioListener;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioListener" , js_name = dopplerFactor ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = dopplerFactor)]
|
||||
#[doc = "Getter for the `dopplerFactor` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub fn doppler_factor(this: &AudioListener) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioListener" , js_name = dopplerFactor ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = dopplerFactor)]
|
||||
#[doc = "Setter for the `dopplerFactor` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub fn set_doppler_factor(this: &AudioListener, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioListener" , js_name = speedOfSound ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = speedOfSound)]
|
||||
#[doc = "Getter for the `speedOfSound` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub fn speed_of_sound(this: &AudioListener) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioListener" , js_name = speedOfSound ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = speedOfSound)]
|
||||
#[doc = "Setter for the `speedOfSound` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub fn set_speed_of_sound(this: &AudioListener, value: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AudioListener" , js_name = setOrientation ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setOrientation)]
|
||||
#[doc = "The `setOrientation()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setOrientation)"]
|
||||
@ -54,14 +54,14 @@ extern "C" {
|
||||
y_up: f64,
|
||||
z_up: f64,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AudioListener" , js_name = setPosition ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setPosition)]
|
||||
#[doc = "The `setPosition()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setPosition)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
|
||||
pub fn set_position(this: &AudioListener, x: f64, y: f64, z: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AudioListener" , js_name = setVelocity ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setVelocity)]
|
||||
#[doc = "The `setVelocity()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setVelocity)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioNode , typescript_type = "AudioNode" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioNode , typescript_type = "AudioNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioNode` class."]
|
||||
#[doc = ""]
|
||||
@ -12,35 +12,35 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub type AudioNode;
|
||||
#[cfg(feature = "BaseAudioContext")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = context ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = context)]
|
||||
#[doc = "Getter for the `context` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/context)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`, `BaseAudioContext`*"]
|
||||
pub fn context(this: &AudioNode) -> BaseAudioContext;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = numberOfInputs ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = numberOfInputs)]
|
||||
#[doc = "Getter for the `numberOfInputs` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfInputs)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn number_of_inputs(this: &AudioNode) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = numberOfOutputs ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = numberOfOutputs)]
|
||||
#[doc = "Getter for the `numberOfOutputs` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfOutputs)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn number_of_outputs(this: &AudioNode) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = channelCount ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelCount)]
|
||||
#[doc = "Getter for the `channelCount` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn channel_count(this: &AudioNode) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioNode" , js_name = channelCount ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelCount)]
|
||||
#[doc = "Setter for the `channelCount` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)"]
|
||||
@ -48,7 +48,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn set_channel_count(this: &AudioNode, value: u32);
|
||||
#[cfg(feature = "ChannelCountMode")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = channelCountMode ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelCountMode)]
|
||||
#[doc = "Getter for the `channelCountMode` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)"]
|
||||
@ -56,7 +56,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*"]
|
||||
pub fn channel_count_mode(this: &AudioNode) -> ChannelCountMode;
|
||||
#[cfg(feature = "ChannelCountMode")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioNode" , js_name = channelCountMode ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelCountMode)]
|
||||
#[doc = "Setter for the `channelCountMode` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)"]
|
||||
@ -64,7 +64,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*"]
|
||||
pub fn set_channel_count_mode(this: &AudioNode, value: ChannelCountMode);
|
||||
#[cfg(feature = "ChannelInterpretation")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioNode" , js_name = channelInterpretation ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelInterpretation)]
|
||||
#[doc = "Getter for the `channelInterpretation` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)"]
|
||||
@ -72,14 +72,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*"]
|
||||
pub fn channel_interpretation(this: &AudioNode) -> ChannelInterpretation;
|
||||
#[cfg(feature = "ChannelInterpretation")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioNode" , js_name = channelInterpretation ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelInterpretation)]
|
||||
#[doc = "Setter for the `channelInterpretation` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*"]
|
||||
pub fn set_channel_interpretation(this: &AudioNode, value: ChannelInterpretation);
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
|
||||
#[doc = "The `connect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
|
||||
@ -89,7 +89,7 @@ extern "C" {
|
||||
this: &AudioNode,
|
||||
destination: &AudioNode,
|
||||
) -> Result<AudioNode, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
|
||||
#[doc = "The `connect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
|
||||
@ -100,7 +100,7 @@ extern "C" {
|
||||
destination: &AudioNode,
|
||||
output: u32,
|
||||
) -> Result<AudioNode, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
|
||||
#[doc = "The `connect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
|
||||
@ -113,7 +113,7 @@ extern "C" {
|
||||
input: u32,
|
||||
) -> Result<AudioNode, JsValue>;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
|
||||
#[doc = "The `connect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
|
||||
@ -124,7 +124,7 @@ extern "C" {
|
||||
destination: &AudioParam,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
|
||||
#[doc = "The `connect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
|
||||
@ -135,21 +135,21 @@ extern "C" {
|
||||
destination: &AudioParam,
|
||||
output: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn disconnect(this: &AudioNode) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
|
||||
pub fn disconnect_with_output(this: &AudioNode, output: u32) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
@ -159,7 +159,7 @@ extern "C" {
|
||||
this: &AudioNode,
|
||||
destination: &AudioNode,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
@ -170,7 +170,7 @@ extern "C" {
|
||||
destination: &AudioNode,
|
||||
output: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
@ -183,7 +183,7 @@ extern "C" {
|
||||
input: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
@ -194,7 +194,7 @@ extern "C" {
|
||||
destination: &AudioParam,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
|
||||
#[doc = "The `disconnect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioNodeOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioNodeOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioNodeOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioParam , typescript_type = "AudioParam" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParam , typescript_type = "AudioParam")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioParam` class."]
|
||||
#[doc = ""]
|
||||
@ -11,42 +11,42 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub type AudioParam;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioParam" , js_name = value ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = value)]
|
||||
#[doc = "Getter for the `value` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub fn value(this: &AudioParam) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioParam" , js_name = value ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioParam" , js_name = value)]
|
||||
#[doc = "Setter for the `value` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub fn set_value(this: &AudioParam, value: f32);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioParam" , js_name = defaultValue ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = defaultValue)]
|
||||
#[doc = "Getter for the `defaultValue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/defaultValue)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub fn default_value(this: &AudioParam) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioParam" , js_name = minValue ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = minValue)]
|
||||
#[doc = "Getter for the `minValue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/minValue)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub fn min_value(this: &AudioParam) -> f32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioParam" , js_name = maxValue ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = maxValue)]
|
||||
#[doc = "Getter for the `maxValue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/maxValue)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
|
||||
pub fn max_value(this: &AudioParam) -> f32;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = cancelScheduledValues ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = cancelScheduledValues)]
|
||||
#[doc = "The `cancelScheduledValues()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelScheduledValues)"]
|
||||
@ -56,7 +56,7 @@ extern "C" {
|
||||
this: &AudioParam,
|
||||
start_time: f64,
|
||||
) -> Result<AudioParam, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = exponentialRampToValueAtTime ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = exponentialRampToValueAtTime)]
|
||||
#[doc = "The `exponentialRampToValueAtTime()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/exponentialRampToValueAtTime)"]
|
||||
@ -67,7 +67,7 @@ extern "C" {
|
||||
value: f32,
|
||||
end_time: f64,
|
||||
) -> Result<AudioParam, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = linearRampToValueAtTime ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = linearRampToValueAtTime)]
|
||||
#[doc = "The `linearRampToValueAtTime()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime)"]
|
||||
@ -78,7 +78,7 @@ extern "C" {
|
||||
value: f32,
|
||||
end_time: f64,
|
||||
) -> Result<AudioParam, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setTargetAtTime ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setTargetAtTime)]
|
||||
#[doc = "The `setTargetAtTime()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setTargetAtTime)"]
|
||||
@ -90,7 +90,7 @@ extern "C" {
|
||||
start_time: f64,
|
||||
time_constant: f64,
|
||||
) -> Result<AudioParam, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setValueAtTime ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setValueAtTime)]
|
||||
#[doc = "The `setValueAtTime()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueAtTime)"]
|
||||
@ -101,7 +101,7 @@ extern "C" {
|
||||
value: f32,
|
||||
start_time: f64,
|
||||
) -> Result<AudioParam, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setValueCurveAtTime ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setValueCurveAtTime)]
|
||||
#[doc = "The `setValueCurveAtTime()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioParamMap` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AudioProcessingEvent , typescript_type = "AudioProcessingEvent" ) ]
|
||||
# [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AudioProcessingEvent , typescript_type = "AudioProcessingEvent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioProcessingEvent` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioProcessingEvent`*"]
|
||||
pub type AudioProcessingEvent;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioProcessingEvent" , js_name = playbackTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioProcessingEvent" , js_name = playbackTime)]
|
||||
#[doc = "Getter for the `playbackTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/playbackTime)"]
|
||||
@ -19,7 +19,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioProcessingEvent`*"]
|
||||
pub fn playback_time(this: &AudioProcessingEvent) -> f64;
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = inputBuffer ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = inputBuffer)]
|
||||
#[doc = "Getter for the `inputBuffer` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/inputBuffer)"]
|
||||
@ -27,7 +27,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*"]
|
||||
pub fn input_buffer(this: &AudioProcessingEvent) -> Result<AudioBuffer, JsValue>;
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = outputBuffer ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = outputBuffer)]
|
||||
#[doc = "Getter for the `outputBuffer` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/outputBuffer)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioScheduledSourceNode , typescript_type = "AudioScheduledSourceNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioScheduledSourceNode , typescript_type = "AudioScheduledSourceNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioScheduledSourceNode` class."]
|
||||
#[doc = ""]
|
||||
@ -13,7 +13,7 @@ extern "C" {
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
pub type AudioScheduledSourceNode;
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioScheduledSourceNode" , js_name = onended ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioScheduledSourceNode" , js_name = onended)]
|
||||
#[doc = "Getter for the `onended` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)"]
|
||||
@ -21,7 +21,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
|
||||
pub fn onended(this: &AudioScheduledSourceNode) -> Option<::js_sys::Function>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioScheduledSourceNode" , js_name = onended ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioScheduledSourceNode" , js_name = onended)]
|
||||
#[doc = "Setter for the `onended` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)"]
|
||||
@ -29,7 +29,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
|
||||
pub fn set_onended(this: &AudioScheduledSourceNode, value: Option<&::js_sys::Function>);
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
|
||||
@ -37,7 +37,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
|
||||
pub fn start(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
|
||||
#[doc = "The `start()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
|
||||
@ -45,7 +45,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
|
||||
pub fn start_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
|
||||
#[doc = "The `stop()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
|
||||
@ -53,7 +53,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
|
||||
pub fn stop(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use parent class methods instead")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
|
||||
#[doc = "The `stop()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioStreamTrack , typescript_type = "AudioStreamTrack" ) ]
|
||||
# [wasm_bindgen (extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioStreamTrack , typescript_type = "AudioStreamTrack")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioStreamTrack` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioTrack , typescript_type = "AudioTrack" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioTrack , typescript_type = "AudioTrack")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioTrack` class."]
|
||||
#[doc = ""]
|
||||
@ -11,42 +11,42 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub type AudioTrack;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrack" , js_name = id ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = id)]
|
||||
#[doc = "Getter for the `id` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/id)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub fn id(this: &AudioTrack) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrack" , js_name = kind ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = kind)]
|
||||
#[doc = "Getter for the `kind` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/kind)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub fn kind(this: &AudioTrack) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrack" , js_name = label ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = label)]
|
||||
#[doc = "Getter for the `label` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/label)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub fn label(this: &AudioTrack) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrack" , js_name = language ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = language)]
|
||||
#[doc = "Getter for the `language` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/language)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub fn language(this: &AudioTrack) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrack" , js_name = enabled ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = enabled)]
|
||||
#[doc = "Getter for the `enabled` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
|
||||
pub fn enabled(this: &AudioTrack) -> bool;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioTrack" , js_name = enabled ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioTrack" , js_name = enabled)]
|
||||
#[doc = "Setter for the `enabled` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioTrackList , typescript_type = "AudioTrackList" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioTrackList , typescript_type = "AudioTrackList")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioTrackList` class."]
|
||||
#[doc = ""]
|
||||
@ -11,49 +11,49 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub type AudioTrackList;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrackList" , js_name = length ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = length)]
|
||||
#[doc = "Getter for the `length` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/length)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn length(this: &AudioTrackList) -> u32;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrackList" , js_name = onchange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onchange)]
|
||||
#[doc = "Getter for the `onchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn onchange(this: &AudioTrackList) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioTrackList" , js_name = onchange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onchange)]
|
||||
#[doc = "Setter for the `onchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn set_onchange(this: &AudioTrackList, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrackList" , js_name = onaddtrack ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onaddtrack)]
|
||||
#[doc = "Getter for the `onaddtrack` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn onaddtrack(this: &AudioTrackList) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioTrackList" , js_name = onaddtrack ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onaddtrack)]
|
||||
#[doc = "Setter for the `onaddtrack` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn set_onaddtrack(this: &AudioTrackList, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioTrackList" , js_name = onremovetrack ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onremovetrack)]
|
||||
#[doc = "Getter for the `onremovetrack` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn onremovetrack(this: &AudioTrackList) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioTrackList" , js_name = onremovetrack ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onremovetrack)]
|
||||
#[doc = "Setter for the `onremovetrack` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)"]
|
||||
@ -61,7 +61,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
|
||||
pub fn set_onremovetrack(this: &AudioTrackList, value: Option<&::js_sys::Function>);
|
||||
#[cfg(feature = "AudioTrack")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AudioTrackList" , js_name = getTrackById ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AudioTrackList" , js_name = getTrackById)]
|
||||
#[doc = "The `getTrackById()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/getTrackById)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Worklet , extends = :: js_sys :: Object , js_name = AudioWorklet , typescript_type = "AudioWorklet" ) ]
|
||||
# [wasm_bindgen (extends = Worklet , extends = :: js_sys :: Object , js_name = AudioWorklet , typescript_type = "AudioWorklet")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioWorklet` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = AudioWorkletGlobalScope , typescript_type = "AudioWorkletGlobalScope" ) ]
|
||||
# [wasm_bindgen (extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = AudioWorkletGlobalScope , typescript_type = "AudioWorkletGlobalScope")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioWorkletGlobalScope` class."]
|
||||
#[doc = ""]
|
||||
@ -11,28 +11,28 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
|
||||
pub type AudioWorkletGlobalScope;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentFrame ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentFrame)]
|
||||
#[doc = "Getter for the `currentFrame` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentFrame)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
|
||||
pub fn current_frame(this: &AudioWorkletGlobalScope) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
|
||||
pub fn current_time(this: &AudioWorkletGlobalScope) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = sampleRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = sampleRate)]
|
||||
#[doc = "Getter for the `sampleRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/sampleRate)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
|
||||
pub fn sample_rate(this: &AudioWorkletGlobalScope) -> f32;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "AudioWorkletGlobalScope" , js_name = registerProcessor ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "AudioWorkletGlobalScope" , js_name = registerProcessor)]
|
||||
#[doc = "The `registerProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioWorkletNode , typescript_type = "AudioWorkletNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioWorkletNode , typescript_type = "AudioWorkletNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioWorkletNode` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`*"]
|
||||
pub type AudioWorkletNode;
|
||||
#[cfg(feature = "AudioParamMap")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = parameters ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = parameters)]
|
||||
#[doc = "Getter for the `parameters` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/parameters)"]
|
||||
@ -20,21 +20,21 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParamMap`, `AudioWorkletNode`*"]
|
||||
pub fn parameters(this: &AudioWorkletNode) -> Result<AudioParamMap, JsValue>;
|
||||
#[cfg(feature = "MessagePort")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = port ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = port)]
|
||||
#[doc = "Getter for the `port` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/port)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`, `MessagePort`*"]
|
||||
pub fn port(this: &AudioWorkletNode) -> Result<MessagePort, JsValue>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AudioWorkletNode" , js_name = onprocessorerror ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletNode" , js_name = onprocessorerror)]
|
||||
#[doc = "Getter for the `onprocessorerror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`*"]
|
||||
pub fn onprocessorerror(this: &AudioWorkletNode) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "AudioWorkletNode" , js_name = onprocessorerror ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "AudioWorkletNode" , js_name = onprocessorerror)]
|
||||
#[doc = "Setter for the `onprocessorerror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioWorkletNodeOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletNodeOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioWorkletNodeOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioWorkletProcessor , typescript_type = "AudioWorkletProcessor" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletProcessor , typescript_type = "AudioWorkletProcessor")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AudioWorkletProcessor` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorkletProcessor`*"]
|
||||
pub type AudioWorkletProcessor;
|
||||
#[cfg(feature = "MessagePort")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioWorkletProcessor" , js_name = port ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletProcessor" , js_name = port)]
|
||||
#[doc = "Getter for the `port` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/port)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientInputs ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientInputs)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticationExtensionsClientInputs` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientOutputs ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientOutputs)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticationExtensionsClientOutputs` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAssertionResponse , typescript_type = "AuthenticatorAssertionResponse" ) ]
|
||||
# [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAssertionResponse , typescript_type = "AuthenticatorAssertionResponse")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticatorAssertionResponse` class."]
|
||||
#[doc = ""]
|
||||
@ -11,21 +11,21 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
|
||||
pub type AuthenticatorAssertionResponse;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = authenticatorData ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = authenticatorData)]
|
||||
#[doc = "Getter for the `authenticatorData` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
|
||||
pub fn authenticator_data(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = signature ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = signature)]
|
||||
#[doc = "Getter for the `signature` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/signature)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
|
||||
pub fn signature(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = userHandle ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = userHandle)]
|
||||
#[doc = "Getter for the `userHandle` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/userHandle)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAttestationResponse , typescript_type = "AuthenticatorAttestationResponse" ) ]
|
||||
# [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAttestationResponse , typescript_type = "AuthenticatorAttestationResponse")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticatorAttestationResponse` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*"]
|
||||
pub type AuthenticatorAttestationResponse;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AuthenticatorAttestationResponse" , js_name = attestationObject ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAttestationResponse" , js_name = attestationObject)]
|
||||
#[doc = "Getter for the `attestationObject` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticatorResponse , typescript_type = "AuthenticatorResponse" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorResponse , typescript_type = "AuthenticatorResponse")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticatorResponse` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`*"]
|
||||
pub type AuthenticatorResponse;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "AuthenticatorResponse" , js_name = clientDataJSON ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorResponse" , js_name = clientDataJSON)]
|
||||
#[doc = "Getter for the `clientDataJSON` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse/clientDataJSON)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticatorSelectionCriteria ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorSelectionCriteria)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AuthenticatorSelectionCriteria` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AutocompleteInfo ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AutocompleteInfo)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `AutocompleteInfo` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BarProp , typescript_type = "BarProp" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BarProp , typescript_type = "BarProp")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BarProp` class."]
|
||||
#[doc = ""]
|
||||
@ -11,14 +11,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BarProp`*"]
|
||||
pub type BarProp;
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "BarProp" , js_name = visible ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "BarProp" , js_name = visible)]
|
||||
#[doc = "Getter for the `visible` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BarProp`*"]
|
||||
pub fn visible(this: &BarProp) -> Result<bool, JsValue>;
|
||||
# [ wasm_bindgen ( structural , catch , method , setter , js_class = "BarProp" , js_name = visible ) ]
|
||||
# [wasm_bindgen (structural , catch , method , setter , js_class = "BarProp" , js_name = visible)]
|
||||
#[doc = "Setter for the `visible` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BaseAudioContext , typescript_type = "BaseAudioContext" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BaseAudioContext , typescript_type = "BaseAudioContext")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BaseAudioContext` class."]
|
||||
#[doc = ""]
|
||||
@ -14,7 +14,7 @@ extern "C" {
|
||||
pub type BaseAudioContext;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioDestinationNode")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = destination ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = destination)]
|
||||
#[doc = "Getter for the `destination` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/destination)"]
|
||||
@ -22,7 +22,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`, `BaseAudioContext`*"]
|
||||
pub fn destination(this: &BaseAudioContext) -> AudioDestinationNode;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = sampleRate ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = sampleRate)]
|
||||
#[doc = "Getter for the `sampleRate` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate)"]
|
||||
@ -30,7 +30,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
|
||||
pub fn sample_rate(this: &BaseAudioContext) -> f32;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = currentTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = currentTime)]
|
||||
#[doc = "Getter for the `currentTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/currentTime)"]
|
||||
@ -39,7 +39,7 @@ extern "C" {
|
||||
pub fn current_time(this: &BaseAudioContext) -> f64;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioListener")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = listener ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = listener)]
|
||||
#[doc = "Getter for the `listener` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/listener)"]
|
||||
@ -48,7 +48,7 @@ extern "C" {
|
||||
pub fn listener(this: &BaseAudioContext) -> AudioListener;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioContextState")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = state ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = state)]
|
||||
#[doc = "Getter for the `state` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/state)"]
|
||||
@ -57,7 +57,7 @@ extern "C" {
|
||||
pub fn state(this: &BaseAudioContext) -> AudioContextState;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioWorklet")]
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "BaseAudioContext" , js_name = audioWorklet ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "BaseAudioContext" , js_name = audioWorklet)]
|
||||
#[doc = "Getter for the `audioWorklet` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/audioWorklet)"]
|
||||
@ -65,7 +65,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioWorklet`, `BaseAudioContext`*"]
|
||||
pub fn audio_worklet(this: &BaseAudioContext) -> Result<AudioWorklet, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = onstatechange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = onstatechange)]
|
||||
#[doc = "Getter for the `onstatechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)"]
|
||||
@ -73,7 +73,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
|
||||
pub fn onstatechange(this: &BaseAudioContext) -> Option<::js_sys::Function>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BaseAudioContext" , js_name = onstatechange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BaseAudioContext" , js_name = onstatechange)]
|
||||
#[doc = "Setter for the `onstatechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)"]
|
||||
@ -82,7 +82,7 @@ extern "C" {
|
||||
pub fn set_onstatechange(this: &BaseAudioContext, value: Option<&::js_sys::Function>);
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AnalyserNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createAnalyser ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createAnalyser)]
|
||||
#[doc = "The `createAnalyser()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createAnalyser)"]
|
||||
@ -91,7 +91,7 @@ extern "C" {
|
||||
pub fn create_analyser(this: &BaseAudioContext) -> Result<AnalyserNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "BiquadFilterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBiquadFilter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBiquadFilter)]
|
||||
#[doc = "The `createBiquadFilter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBiquadFilter)"]
|
||||
@ -100,7 +100,7 @@ extern "C" {
|
||||
pub fn create_biquad_filter(this: &BaseAudioContext) -> Result<BiquadFilterNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioBuffer")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBuffer ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBuffer)]
|
||||
#[doc = "The `createBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBuffer)"]
|
||||
@ -114,7 +114,7 @@ extern "C" {
|
||||
) -> Result<AudioBuffer, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "AudioBufferSourceNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBufferSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBufferSource)]
|
||||
#[doc = "The `createBufferSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBufferSource)"]
|
||||
@ -123,7 +123,7 @@ extern "C" {
|
||||
pub fn create_buffer_source(this: &BaseAudioContext) -> Result<AudioBufferSourceNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ChannelMergerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger)]
|
||||
#[doc = "The `createChannelMerger()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)"]
|
||||
@ -132,7 +132,7 @@ extern "C" {
|
||||
pub fn create_channel_merger(this: &BaseAudioContext) -> Result<ChannelMergerNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ChannelMergerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger)]
|
||||
#[doc = "The `createChannelMerger()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)"]
|
||||
@ -144,7 +144,7 @@ extern "C" {
|
||||
) -> Result<ChannelMergerNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ChannelSplitterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter)]
|
||||
#[doc = "The `createChannelSplitter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)"]
|
||||
@ -154,7 +154,7 @@ extern "C" {
|
||||
-> Result<ChannelSplitterNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ChannelSplitterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter)]
|
||||
#[doc = "The `createChannelSplitter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)"]
|
||||
@ -166,7 +166,7 @@ extern "C" {
|
||||
) -> Result<ChannelSplitterNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ConstantSourceNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createConstantSource ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createConstantSource)]
|
||||
#[doc = "The `createConstantSource()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConstantSource)"]
|
||||
@ -175,7 +175,7 @@ extern "C" {
|
||||
pub fn create_constant_source(this: &BaseAudioContext) -> Result<ConstantSourceNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ConvolverNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createConvolver ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createConvolver)]
|
||||
#[doc = "The `createConvolver()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConvolver)"]
|
||||
@ -184,7 +184,7 @@ extern "C" {
|
||||
pub fn create_convolver(this: &BaseAudioContext) -> Result<ConvolverNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "DelayNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay)]
|
||||
#[doc = "The `createDelay()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)"]
|
||||
@ -193,7 +193,7 @@ extern "C" {
|
||||
pub fn create_delay(this: &BaseAudioContext) -> Result<DelayNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "DelayNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay)]
|
||||
#[doc = "The `createDelay()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)"]
|
||||
@ -205,7 +205,7 @@ extern "C" {
|
||||
) -> Result<DelayNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "DynamicsCompressorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDynamicsCompressor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDynamicsCompressor)]
|
||||
#[doc = "The `createDynamicsCompressor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDynamicsCompressor)"]
|
||||
@ -216,7 +216,7 @@ extern "C" {
|
||||
) -> Result<DynamicsCompressorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "GainNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createGain ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createGain)]
|
||||
#[doc = "The `createGain()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createGain)"]
|
||||
@ -225,7 +225,7 @@ extern "C" {
|
||||
pub fn create_gain(this: &BaseAudioContext) -> Result<GainNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "IirFilterNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createIIRFilter ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createIIRFilter)]
|
||||
#[doc = "The `createIIRFilter()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createIIRFilter)"]
|
||||
@ -238,7 +238,7 @@ extern "C" {
|
||||
) -> Result<IirFilterNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "OscillatorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createOscillator ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createOscillator)]
|
||||
#[doc = "The `createOscillator()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createOscillator)"]
|
||||
@ -247,7 +247,7 @@ extern "C" {
|
||||
pub fn create_oscillator(this: &BaseAudioContext) -> Result<OscillatorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "PannerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPanner ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPanner)]
|
||||
#[doc = "The `createPanner()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPanner)"]
|
||||
@ -256,7 +256,7 @@ extern "C" {
|
||||
pub fn create_panner(this: &BaseAudioContext) -> Result<PannerNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "PeriodicWave")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave)]
|
||||
#[doc = "The `createPeriodicWave()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)"]
|
||||
@ -269,7 +269,7 @@ extern "C" {
|
||||
) -> Result<PeriodicWave, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave)]
|
||||
#[doc = "The `createPeriodicWave()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)"]
|
||||
@ -283,7 +283,7 @@ extern "C" {
|
||||
) -> Result<PeriodicWave, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
|
||||
@ -293,7 +293,7 @@ extern "C" {
|
||||
-> Result<ScriptProcessorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
|
||||
@ -305,7 +305,7 @@ extern "C" {
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
|
||||
@ -318,7 +318,7 @@ extern "C" {
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "ScriptProcessorNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
|
||||
#[doc = "The `createScriptProcessor()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
|
||||
@ -332,7 +332,7 @@ extern "C" {
|
||||
) -> Result<ScriptProcessorNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "StereoPannerNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createStereoPanner ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createStereoPanner)]
|
||||
#[doc = "The `createStereoPanner()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createStereoPanner)"]
|
||||
@ -341,7 +341,7 @@ extern "C" {
|
||||
pub fn create_stereo_panner(this: &BaseAudioContext) -> Result<StereoPannerNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
#[cfg(feature = "WaveShaperNode")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createWaveShaper ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createWaveShaper)]
|
||||
#[doc = "The `createWaveShaper()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createWaveShaper)"]
|
||||
@ -349,7 +349,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*"]
|
||||
pub fn create_wave_shaper(this: &BaseAudioContext) -> Result<WaveShaperNode, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
|
||||
@ -360,7 +360,7 @@ extern "C" {
|
||||
audio_data: &::js_sys::ArrayBuffer,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
|
||||
@ -372,7 +372,7 @@ extern "C" {
|
||||
success_callback: &::js_sys::Function,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
|
||||
#[doc = "The `decodeAudioData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
|
||||
@ -385,7 +385,7 @@ extern "C" {
|
||||
error_callback: &::js_sys::Function,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = resume ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = resume)]
|
||||
#[doc = "The `resume()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/resume)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BaseComputedKeyframe ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseComputedKeyframe)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BaseComputedKeyframe` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BaseKeyframe ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseKeyframe)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BaseKeyframe` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasePropertyIndexedKeyframe ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasePropertyIndexedKeyframe)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BasePropertyIndexedKeyframe` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasicCardRequest ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardRequest)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BasicCardRequest` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasicCardResponse ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardResponse)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BasicCardResponse` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BatteryManager , typescript_type = "BatteryManager" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BatteryManager , typescript_type = "BatteryManager")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BatteryManager` class."]
|
||||
#[doc = ""]
|
||||
@ -11,84 +11,84 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub type BatteryManager;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = charging ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = charging)]
|
||||
#[doc = "Getter for the `charging` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/charging)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn charging(this: &BatteryManager) -> bool;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = chargingTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = chargingTime)]
|
||||
#[doc = "Getter for the `chargingTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/chargingTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn charging_time(this: &BatteryManager) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = dischargingTime ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = dischargingTime)]
|
||||
#[doc = "Getter for the `dischargingTime` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/dischargingTime)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn discharging_time(this: &BatteryManager) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = level ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = level)]
|
||||
#[doc = "Getter for the `level` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/level)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn level(this: &BatteryManager) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = onchargingchange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onchargingchange)]
|
||||
#[doc = "Getter for the `onchargingchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn onchargingchange(this: &BatteryManager) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BatteryManager" , js_name = onchargingchange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onchargingchange)]
|
||||
#[doc = "Setter for the `onchargingchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn set_onchargingchange(this: &BatteryManager, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = onchargingtimechange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onchargingtimechange)]
|
||||
#[doc = "Getter for the `onchargingtimechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn onchargingtimechange(this: &BatteryManager) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BatteryManager" , js_name = onchargingtimechange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onchargingtimechange)]
|
||||
#[doc = "Setter for the `onchargingtimechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn set_onchargingtimechange(this: &BatteryManager, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = ondischargingtimechange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = ondischargingtimechange)]
|
||||
#[doc = "Getter for the `ondischargingtimechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn ondischargingtimechange(this: &BatteryManager) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BatteryManager" , js_name = ondischargingtimechange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = ondischargingtimechange)]
|
||||
#[doc = "Setter for the `ondischargingtimechange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn set_ondischargingtimechange(this: &BatteryManager, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BatteryManager" , js_name = onlevelchange ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onlevelchange)]
|
||||
#[doc = "Getter for the `onlevelchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
|
||||
pub fn onlevelchange(this: &BatteryManager) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BatteryManager" , js_name = onlevelchange ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onlevelchange)]
|
||||
#[doc = "Setter for the `onlevelchange` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = BeforeUnloadEvent , typescript_type = "BeforeUnloadEvent" ) ]
|
||||
# [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BeforeUnloadEvent , typescript_type = "BeforeUnloadEvent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BeforeUnloadEvent` class."]
|
||||
#[doc = ""]
|
||||
@ -11,14 +11,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BeforeUnloadEvent`*"]
|
||||
pub type BeforeUnloadEvent;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BeforeUnloadEvent" , js_name = returnValue ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BeforeUnloadEvent" , js_name = returnValue)]
|
||||
#[doc = "Getter for the `returnValue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BeforeUnloadEvent`*"]
|
||||
pub fn return_value(this: &BeforeUnloadEvent) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BeforeUnloadEvent" , js_name = returnValue ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BeforeUnloadEvent" , js_name = returnValue)]
|
||||
#[doc = "Setter for the `returnValue` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = BiquadFilterNode , typescript_type = "BiquadFilterNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = BiquadFilterNode , typescript_type = "BiquadFilterNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BiquadFilterNode` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`*"]
|
||||
pub type BiquadFilterNode;
|
||||
#[cfg(feature = "BiquadFilterType")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BiquadFilterNode" , js_name = type ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = type)]
|
||||
#[doc = "Getter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)"]
|
||||
@ -20,7 +20,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*"]
|
||||
pub fn type_(this: &BiquadFilterNode) -> BiquadFilterType;
|
||||
#[cfg(feature = "BiquadFilterType")]
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BiquadFilterNode" , js_name = type ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BiquadFilterNode" , js_name = type)]
|
||||
#[doc = "Setter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)"]
|
||||
@ -28,7 +28,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*"]
|
||||
pub fn set_type(this: &BiquadFilterNode, value: BiquadFilterType);
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BiquadFilterNode" , js_name = frequency ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = frequency)]
|
||||
#[doc = "Getter for the `frequency` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/frequency)"]
|
||||
@ -36,7 +36,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
|
||||
pub fn frequency(this: &BiquadFilterNode) -> AudioParam;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BiquadFilterNode" , js_name = detune ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = detune)]
|
||||
#[doc = "Getter for the `detune` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/detune)"]
|
||||
@ -44,7 +44,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
|
||||
pub fn detune(this: &BiquadFilterNode) -> AudioParam;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BiquadFilterNode" , js_name = Q ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = Q)]
|
||||
#[doc = "Getter for the `Q` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/Q)"]
|
||||
@ -52,7 +52,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
|
||||
pub fn q(this: &BiquadFilterNode) -> AudioParam;
|
||||
#[cfg(feature = "AudioParam")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BiquadFilterNode" , js_name = gain ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = gain)]
|
||||
#[doc = "Getter for the `gain` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/gain)"]
|
||||
@ -78,7 +78,7 @@ extern "C" {
|
||||
context: &BaseAudioContext,
|
||||
options: &BiquadFilterOptions,
|
||||
) -> Result<BiquadFilterNode, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "BiquadFilterNode" , js_name = getFrequencyResponse ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "BiquadFilterNode" , js_name = getFrequencyResponse)]
|
||||
#[doc = "The `getFrequencyResponse()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/getFrequencyResponse)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BiquadFilterOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BiquadFilterOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BiquadFilterOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Blob , typescript_type = "Blob" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Blob , typescript_type = "Blob")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Blob` class."]
|
||||
#[doc = ""]
|
||||
@ -11,14 +11,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub type Blob;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Blob" , js_name = size ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Blob" , js_name = size)]
|
||||
#[doc = "Getter for the `size` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/size)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn size(this: &Blob) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Blob" , js_name = type ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Blob" , js_name = type)]
|
||||
#[doc = "Getter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/type)"]
|
||||
@ -108,63 +108,63 @@ extern "C" {
|
||||
blob_parts: &::wasm_bindgen::JsValue,
|
||||
options: &BlobPropertyBag,
|
||||
) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Blob" , js_name = arrayBuffer ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Blob" , js_name = arrayBuffer)]
|
||||
#[doc = "The `arrayBuffer()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/arrayBuffer)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn array_buffer(this: &Blob) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice(this: &Blob) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_i32(this: &Blob, start: i32) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_f64(this: &Blob, start: f64) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_i32_and_i32(this: &Blob, start: i32, end: i32) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_f64_and_i32(this: &Blob, start: f64, end: i32) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_i32_and_f64(this: &Blob, start: i32, end: f64) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`*"]
|
||||
pub fn slice_with_f64_and_f64(this: &Blob, start: f64, end: f64) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
@ -176,7 +176,7 @@ extern "C" {
|
||||
end: i32,
|
||||
content_type: &str,
|
||||
) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
@ -188,7 +188,7 @@ extern "C" {
|
||||
end: i32,
|
||||
content_type: &str,
|
||||
) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
@ -200,7 +200,7 @@ extern "C" {
|
||||
end: f64,
|
||||
content_type: &str,
|
||||
) -> Result<Blob, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
|
||||
#[doc = "The `slice()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
|
||||
@ -213,14 +213,14 @@ extern "C" {
|
||||
content_type: &str,
|
||||
) -> Result<Blob, JsValue>;
|
||||
#[cfg(feature = "ReadableStream")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Blob" , js_name = stream ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Blob" , js_name = stream)]
|
||||
#[doc = "The `stream()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/stream)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Blob`, `ReadableStream`*"]
|
||||
pub fn stream(this: &Blob) -> ReadableStream;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Blob" , js_name = text ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Blob" , js_name = text)]
|
||||
#[doc = "The `text()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/text)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = BlobEvent , typescript_type = "BlobEvent" ) ]
|
||||
# [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BlobEvent , typescript_type = "BlobEvent")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BlobEvent` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `BlobEvent`*"]
|
||||
pub type BlobEvent;
|
||||
#[cfg(feature = "Blob")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BlobEvent" , js_name = data ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BlobEvent" , js_name = data)]
|
||||
#[doc = "Getter for the `data` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/data)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlobEventInit ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobEventInit)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BlobEventInit` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlobPropertyBag ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobPropertyBag)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BlobPropertyBag` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlockParsingOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlockParsingOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BlockParsingOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BoxQuadOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BoxQuadOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BoxQuadOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BroadcastChannel , typescript_type = "BroadcastChannel" ) ]
|
||||
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BroadcastChannel , typescript_type = "BroadcastChannel")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BroadcastChannel` class."]
|
||||
#[doc = ""]
|
||||
@ -11,35 +11,35 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub type BroadcastChannel;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BroadcastChannel" , js_name = name ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = name)]
|
||||
#[doc = "Getter for the `name` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/name)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn name(this: &BroadcastChannel) -> String;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessage ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessage)]
|
||||
#[doc = "Getter for the `onmessage` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn onmessage(this: &BroadcastChannel) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessage ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessage)]
|
||||
#[doc = "Setter for the `onmessage` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn set_onmessage(this: &BroadcastChannel, value: Option<&::js_sys::Function>);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessageerror ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessageerror)]
|
||||
#[doc = "Getter for the `onmessageerror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn onmessageerror(this: &BroadcastChannel) -> Option<::js_sys::Function>;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessageerror ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessageerror)]
|
||||
#[doc = "Setter for the `onmessageerror` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)"]
|
||||
@ -53,14 +53,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn new(channel: &str) -> Result<BroadcastChannel, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "BroadcastChannel" , js_name = close ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "BroadcastChannel" , js_name = close)]
|
||||
#[doc = "The `close()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/close)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
|
||||
pub fn close(this: &BroadcastChannel);
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "BroadcastChannel" , js_name = postMessage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "BroadcastChannel" , js_name = postMessage)]
|
||||
#[doc = "The `postMessage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/postMessage)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserElementDownloadOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementDownloadOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BrowserElementDownloadOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserElementExecuteScriptOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementExecuteScriptOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BrowserElementExecuteScriptOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserFeedWriter , typescript_type = "BrowserFeedWriter" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserFeedWriter , typescript_type = "BrowserFeedWriter")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `BrowserFeedWriter` class."]
|
||||
#[doc = ""]
|
||||
@ -18,14 +18,14 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
|
||||
pub fn new() -> Result<BrowserFeedWriter, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "BrowserFeedWriter" , js_name = close ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "BrowserFeedWriter" , js_name = close)]
|
||||
#[doc = "The `close()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/close)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
|
||||
pub fn close(this: &BrowserFeedWriter);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "BrowserFeedWriter" , js_name = writeContent ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "BrowserFeedWriter" , js_name = writeContent)]
|
||||
#[doc = "The `writeContent()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/writeContent)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Cache , typescript_type = "Cache" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Cache , typescript_type = "Cache")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Cache` class."]
|
||||
#[doc = ""]
|
||||
@ -12,21 +12,21 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub type Cache;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = add ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = add)]
|
||||
#[doc = "The `add()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn add_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = add ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = add)]
|
||||
#[doc = "The `add()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn add_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = addAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = addAll)]
|
||||
#[doc = "The `addAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
|
||||
@ -36,7 +36,7 @@ extern "C" {
|
||||
this: &Cache,
|
||||
requests: &::wasm_bindgen::JsValue,
|
||||
) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = addAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = addAll)]
|
||||
#[doc = "The `addAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
|
||||
@ -47,14 +47,14 @@ extern "C" {
|
||||
requests: &::wasm_bindgen::JsValue,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn delete_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
@ -62,7 +62,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn delete_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
@ -74,7 +74,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
@ -85,7 +85,7 @@ extern "C" {
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
@ -93,14 +93,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn keys(this: &Cache) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn keys_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
@ -108,7 +108,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn keys_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
@ -120,7 +120,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
@ -132,14 +132,14 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn match_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
@ -147,7 +147,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
@ -159,7 +159,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
@ -170,7 +170,7 @@ extern "C" {
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
@ -178,14 +178,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_all(this: &Cache) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn match_all_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
@ -193,7 +193,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_all_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
@ -205,7 +205,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
@ -217,7 +217,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "Request", feature = "Response",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = put ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = put)]
|
||||
#[doc = "The `put()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
|
||||
@ -229,7 +229,7 @@ extern "C" {
|
||||
response: &Response,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Response")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = put ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "Cache" , js_name = put)]
|
||||
#[doc = "The `put()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheBatchOperation ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheBatchOperation)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CacheBatchOperation` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheQueryOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheQueryOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CacheQueryOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheStorage , typescript_type = "CacheStorage" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheStorage , typescript_type = "CacheStorage")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CacheStorage` class."]
|
||||
#[doc = ""]
|
||||
@ -11,21 +11,21 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
|
||||
pub type CacheStorage;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = delete ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = delete)]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
|
||||
pub fn delete(this: &CacheStorage, cache_name: &str) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = has ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = has)]
|
||||
#[doc = "The `has()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/has)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
|
||||
pub fn has(this: &CacheStorage, cache_name: &str) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = keys ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = keys)]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys)"]
|
||||
@ -33,14 +33,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
|
||||
pub fn keys(this: &CacheStorage) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Request`*"]
|
||||
pub fn match_with_request(this: &CacheStorage, request: &Request) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
|
||||
@ -48,7 +48,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
|
||||
pub fn match_with_str(this: &CacheStorage, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
|
||||
@ -60,7 +60,7 @@ extern "C" {
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = match ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
|
||||
@ -71,7 +71,7 @@ extern "C" {
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = open ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = open)]
|
||||
#[doc = "The `open()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/open)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = MediaStream , extends = EventTarget , extends = :: js_sys :: Object , js_name = CanvasCaptureMediaStream , typescript_type = "CanvasCaptureMediaStream" ) ]
|
||||
# [wasm_bindgen (extends = MediaStream , extends = EventTarget , extends = :: js_sys :: Object , js_name = CanvasCaptureMediaStream , typescript_type = "CanvasCaptureMediaStream")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CanvasCaptureMediaStream` class."]
|
||||
#[doc = ""]
|
||||
@ -12,14 +12,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*"]
|
||||
pub type CanvasCaptureMediaStream;
|
||||
#[cfg(feature = "HtmlCanvasElement")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasCaptureMediaStream" , js_name = canvas ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasCaptureMediaStream" , js_name = canvas)]
|
||||
#[doc = "Getter for the `canvas` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/canvas)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`, `HtmlCanvasElement`*"]
|
||||
pub fn canvas(this: &CanvasCaptureMediaStream) -> HtmlCanvasElement;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasCaptureMediaStream" , js_name = requestFrame ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasCaptureMediaStream" , js_name = requestFrame)]
|
||||
#[doc = "The `requestFrame()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/requestFrame)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasGradient , typescript_type = "CanvasGradient" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasGradient , typescript_type = "CanvasGradient")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CanvasGradient` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasGradient`*"]
|
||||
pub type CanvasGradient;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasGradient" , js_name = addColorStop ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasGradient" , js_name = addColorStop)]
|
||||
#[doc = "The `addColorStop()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient/addColorStop)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasPattern , typescript_type = "CanvasPattern" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasPattern , typescript_type = "CanvasPattern")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CanvasPattern` class."]
|
||||
#[doc = ""]
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasPattern`*"]
|
||||
pub type CanvasPattern;
|
||||
#[cfg(feature = "SvgMatrix")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasPattern" , js_name = setTransform ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasPattern" , js_name = setTransform)]
|
||||
#[doc = "The `setTransform()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasRenderingContext2D , typescript_type = "CanvasRenderingContext2D" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasRenderingContext2D , typescript_type = "CanvasRenderingContext2D")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CanvasRenderingContext2d` class."]
|
||||
#[doc = ""]
|
||||
@ -12,35 +12,35 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub type CanvasRenderingContext2d;
|
||||
#[cfg(feature = "HtmlCanvasElement")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = canvas ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = canvas)]
|
||||
#[doc = "Getter for the `canvas` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/canvas)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
|
||||
pub fn canvas(this: &CanvasRenderingContext2d) -> Option<HtmlCanvasElement>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha)]
|
||||
#[doc = "Getter for the `globalAlpha` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn global_alpha(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha)]
|
||||
#[doc = "Setter for the `globalAlpha` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_global_alpha(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , catch , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation ) ]
|
||||
# [wasm_bindgen (structural , catch , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation)]
|
||||
#[doc = "Getter for the `globalCompositeOperation` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn global_composite_operation(this: &CanvasRenderingContext2d) -> Result<String, JsValue>;
|
||||
# [ wasm_bindgen ( structural , catch , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation ) ]
|
||||
# [wasm_bindgen (structural , catch , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation)]
|
||||
#[doc = "Setter for the `globalCompositeOperation` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)"]
|
||||
@ -50,224 +50,224 @@ extern "C" {
|
||||
this: &CanvasRenderingContext2d,
|
||||
value: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle)]
|
||||
#[doc = "Getter for the `strokeStyle` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn stroke_style(this: &CanvasRenderingContext2d) -> ::wasm_bindgen::JsValue;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle)]
|
||||
#[doc = "Setter for the `strokeStyle` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_stroke_style(this: &CanvasRenderingContext2d, value: &::wasm_bindgen::JsValue);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle)]
|
||||
#[doc = "Getter for the `fillStyle` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn fill_style(this: &CanvasRenderingContext2d) -> ::wasm_bindgen::JsValue;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle)]
|
||||
#[doc = "Setter for the `fillStyle` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_fill_style(this: &CanvasRenderingContext2d, value: &::wasm_bindgen::JsValue);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = filter ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = filter)]
|
||||
#[doc = "Getter for the `filter` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn filter(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = filter ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = filter)]
|
||||
#[doc = "Setter for the `filter` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_filter(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled)]
|
||||
#[doc = "Getter for the `imageSmoothingEnabled` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn image_smoothing_enabled(this: &CanvasRenderingContext2d) -> bool;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled)]
|
||||
#[doc = "Setter for the `imageSmoothingEnabled` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_image_smoothing_enabled(this: &CanvasRenderingContext2d, value: bool);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth)]
|
||||
#[doc = "Getter for the `lineWidth` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn line_width(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth)]
|
||||
#[doc = "Setter for the `lineWidth` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_line_width(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineCap ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineCap)]
|
||||
#[doc = "Getter for the `lineCap` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn line_cap(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineCap ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineCap)]
|
||||
#[doc = "Setter for the `lineCap` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_line_cap(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin)]
|
||||
#[doc = "Getter for the `lineJoin` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn line_join(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin)]
|
||||
#[doc = "Setter for the `lineJoin` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_line_join(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit)]
|
||||
#[doc = "Getter for the `miterLimit` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn miter_limit(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit)]
|
||||
#[doc = "Setter for the `miterLimit` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_miter_limit(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset)]
|
||||
#[doc = "Getter for the `lineDashOffset` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn line_dash_offset(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset)]
|
||||
#[doc = "Setter for the `lineDashOffset` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_line_dash_offset(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX)]
|
||||
#[doc = "Getter for the `shadowOffsetX` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn shadow_offset_x(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX)]
|
||||
#[doc = "Setter for the `shadowOffsetX` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_shadow_offset_x(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY)]
|
||||
#[doc = "Getter for the `shadowOffsetY` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn shadow_offset_y(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY)]
|
||||
#[doc = "Setter for the `shadowOffsetY` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_shadow_offset_y(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur)]
|
||||
#[doc = "Getter for the `shadowBlur` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn shadow_blur(this: &CanvasRenderingContext2d) -> f64;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur)]
|
||||
#[doc = "Setter for the `shadowBlur` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_shadow_blur(this: &CanvasRenderingContext2d, value: f64);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor)]
|
||||
#[doc = "Getter for the `shadowColor` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn shadow_color(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor)]
|
||||
#[doc = "Setter for the `shadowColor` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_shadow_color(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = font ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = font)]
|
||||
#[doc = "Getter for the `font` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn font(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = font ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = font)]
|
||||
#[doc = "Setter for the `font` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_font(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textAlign ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textAlign)]
|
||||
#[doc = "Getter for the `textAlign` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn text_align(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textAlign ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textAlign)]
|
||||
#[doc = "Setter for the `textAlign` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_text_align(this: &CanvasRenderingContext2d, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline)]
|
||||
#[doc = "Getter for the `textBaseline` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn text_baseline(this: &CanvasRenderingContext2d) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline)]
|
||||
#[doc = "Setter for the `textBaseline` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)"]
|
||||
@ -275,7 +275,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn set_text_baseline(this: &CanvasRenderingContext2d, value: &str);
|
||||
#[cfg(feature = "Window")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow)]
|
||||
#[doc = "The `drawWindow()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)"]
|
||||
@ -291,7 +291,7 @@ extern "C" {
|
||||
bg_color: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "Window")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow)]
|
||||
#[doc = "The `drawWindow()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)"]
|
||||
@ -308,7 +308,7 @@ extern "C" {
|
||||
flags: u32,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -321,7 +321,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "SvgImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -334,7 +334,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlCanvasElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -347,7 +347,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlVideoElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -360,7 +360,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "ImageBitmap")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -373,7 +373,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -388,7 +388,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "SvgImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -403,7 +403,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlCanvasElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -418,7 +418,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlVideoElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -433,7 +433,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "ImageBitmap")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -448,7 +448,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -467,7 +467,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "SvgImageElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -486,7 +486,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlCanvasElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -505,7 +505,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HtmlVideoElement")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -524,7 +524,7 @@ extern "C" {
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "ImageBitmap")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
|
||||
#[doc = "The `drawImage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
|
||||
@ -542,14 +542,14 @@ extern "C" {
|
||||
dw: f64,
|
||||
dh: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = beginPath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = beginPath)]
|
||||
#[doc = "The `beginPath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn begin_path(this: &CanvasRenderingContext2d);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
|
||||
#[doc = "The `clip()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
|
||||
@ -557,7 +557,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn clip(this: &CanvasRenderingContext2d);
|
||||
#[cfg(feature = "CanvasWindingRule")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
|
||||
#[doc = "The `clip()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
|
||||
@ -568,7 +568,7 @@ extern "C" {
|
||||
winding: CanvasWindingRule,
|
||||
);
|
||||
#[cfg(feature = "Path2d")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
|
||||
#[doc = "The `clip()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
|
||||
@ -576,7 +576,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
|
||||
pub fn clip_with_path_2d(this: &CanvasRenderingContext2d, path: &Path2d);
|
||||
#[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
|
||||
#[doc = "The `clip()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
|
||||
@ -587,7 +587,7 @@ extern "C" {
|
||||
path: &Path2d,
|
||||
winding: CanvasWindingRule,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
|
||||
#[doc = "The `fill()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
|
||||
@ -595,7 +595,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn fill(this: &CanvasRenderingContext2d);
|
||||
#[cfg(feature = "CanvasWindingRule")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
|
||||
#[doc = "The `fill()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
|
||||
@ -606,7 +606,7 @@ extern "C" {
|
||||
winding: CanvasWindingRule,
|
||||
);
|
||||
#[cfg(feature = "Path2d")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
|
||||
#[doc = "The `fill()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
|
||||
@ -614,7 +614,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
|
||||
pub fn fill_with_path_2d(this: &CanvasRenderingContext2d, path: &Path2d);
|
||||
#[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
|
||||
#[doc = "The `fill()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
|
||||
@ -625,7 +625,7 @@ extern "C" {
|
||||
path: &Path2d,
|
||||
winding: CanvasWindingRule,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
|
||||
#[doc = "The `isPointInPath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
|
||||
@ -633,7 +633,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn is_point_in_path_with_f64(this: &CanvasRenderingContext2d, x: f64, y: f64) -> bool;
|
||||
#[cfg(feature = "CanvasWindingRule")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
|
||||
#[doc = "The `isPointInPath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
|
||||
@ -646,7 +646,7 @@ extern "C" {
|
||||
winding: CanvasWindingRule,
|
||||
) -> bool;
|
||||
#[cfg(feature = "Path2d")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
|
||||
#[doc = "The `isPointInPath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
|
||||
@ -659,7 +659,7 @@ extern "C" {
|
||||
y: f64,
|
||||
) -> bool;
|
||||
#[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
|
||||
#[doc = "The `isPointInPath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
|
||||
@ -672,7 +672,7 @@ extern "C" {
|
||||
y: f64,
|
||||
winding: CanvasWindingRule,
|
||||
) -> bool;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke)]
|
||||
#[doc = "The `isPointInStroke()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)"]
|
||||
@ -681,7 +681,7 @@ extern "C" {
|
||||
pub fn is_point_in_stroke_with_x_and_y(this: &CanvasRenderingContext2d, x: f64, y: f64)
|
||||
-> bool;
|
||||
#[cfg(feature = "Path2d")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke)]
|
||||
#[doc = "The `isPointInStroke()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)"]
|
||||
@ -693,7 +693,7 @@ extern "C" {
|
||||
x: f64,
|
||||
y: f64,
|
||||
) -> bool;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke)]
|
||||
#[doc = "The `stroke()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)"]
|
||||
@ -701,7 +701,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn stroke(this: &CanvasRenderingContext2d);
|
||||
#[cfg(feature = "Path2d")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke)]
|
||||
#[doc = "The `stroke()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)"]
|
||||
@ -709,7 +709,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
|
||||
pub fn stroke_with_path(this: &CanvasRenderingContext2d, path: &Path2d);
|
||||
#[cfg(feature = "CanvasGradient")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = createLinearGradient ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = createLinearGradient)]
|
||||
#[doc = "The `createLinearGradient()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient)"]
|
||||
@ -723,7 +723,7 @@ extern "C" {
|
||||
y1: f64,
|
||||
) -> CanvasGradient;
|
||||
#[cfg(all(feature = "CanvasPattern", feature = "HtmlImageElement",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
|
||||
#[doc = "The `createPattern()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
|
||||
@ -735,7 +735,7 @@ extern "C" {
|
||||
repetition: &str,
|
||||
) -> Result<Option<CanvasPattern>, JsValue>;
|
||||
#[cfg(all(feature = "CanvasPattern", feature = "SvgImageElement",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
|
||||
#[doc = "The `createPattern()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
|
||||
@ -747,7 +747,7 @@ extern "C" {
|
||||
repetition: &str,
|
||||
) -> Result<Option<CanvasPattern>, JsValue>;
|
||||
#[cfg(all(feature = "CanvasPattern", feature = "HtmlCanvasElement",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
|
||||
#[doc = "The `createPattern()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
|
||||
@ -759,7 +759,7 @@ extern "C" {
|
||||
repetition: &str,
|
||||
) -> Result<Option<CanvasPattern>, JsValue>;
|
||||
#[cfg(all(feature = "CanvasPattern", feature = "HtmlVideoElement",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
|
||||
#[doc = "The `createPattern()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
|
||||
@ -771,7 +771,7 @@ extern "C" {
|
||||
repetition: &str,
|
||||
) -> Result<Option<CanvasPattern>, JsValue>;
|
||||
#[cfg(all(feature = "CanvasPattern", feature = "ImageBitmap",))]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
|
||||
#[doc = "The `createPattern()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
|
||||
@ -783,7 +783,7 @@ extern "C" {
|
||||
repetition: &str,
|
||||
) -> Result<Option<CanvasPattern>, JsValue>;
|
||||
#[cfg(feature = "CanvasGradient")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createRadialGradient ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createRadialGradient)]
|
||||
#[doc = "The `createRadialGradient()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createRadialGradient)"]
|
||||
@ -798,7 +798,7 @@ extern "C" {
|
||||
y1: f64,
|
||||
r1: f64,
|
||||
) -> Result<CanvasGradient, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion)]
|
||||
#[doc = "The `addHitRegion()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)"]
|
||||
@ -806,7 +806,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn add_hit_region(this: &CanvasRenderingContext2d) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "HitRegionOptions")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion)]
|
||||
#[doc = "The `addHitRegion()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)"]
|
||||
@ -816,14 +816,14 @@ extern "C" {
|
||||
this: &CanvasRenderingContext2d,
|
||||
options: &HitRegionOptions,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearHitRegions ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearHitRegions)]
|
||||
#[doc = "The `clearHitRegions()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearHitRegions)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn clear_hit_regions(this: &CanvasRenderingContext2d);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = removeHitRegion ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = removeHitRegion)]
|
||||
#[doc = "The `removeHitRegion()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/removeHitRegion)"]
|
||||
@ -831,7 +831,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn remove_hit_region(this: &CanvasRenderingContext2d, id: &str);
|
||||
#[cfg(feature = "ImageData")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData)]
|
||||
#[doc = "The `createImageData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)"]
|
||||
@ -843,7 +843,7 @@ extern "C" {
|
||||
sh: f64,
|
||||
) -> Result<ImageData, JsValue>;
|
||||
#[cfg(feature = "ImageData")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData)]
|
||||
#[doc = "The `createImageData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)"]
|
||||
@ -854,7 +854,7 @@ extern "C" {
|
||||
imagedata: &ImageData,
|
||||
) -> Result<ImageData, JsValue>;
|
||||
#[cfg(feature = "ImageData")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getImageData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getImageData)]
|
||||
#[doc = "The `getImageData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)"]
|
||||
@ -868,7 +868,7 @@ extern "C" {
|
||||
sh: f64,
|
||||
) -> Result<ImageData, JsValue>;
|
||||
#[cfg(feature = "ImageData")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData)]
|
||||
#[doc = "The `putImageData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)"]
|
||||
@ -881,7 +881,7 @@ extern "C" {
|
||||
dy: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "ImageData")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData)]
|
||||
#[doc = "The `putImageData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)"]
|
||||
@ -897,14 +897,14 @@ extern "C" {
|
||||
dirty_width: f64,
|
||||
dirty_height: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash)]
|
||||
#[doc = "The `getLineDash()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getLineDash)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn get_line_dash(this: &CanvasRenderingContext2d) -> ::js_sys::Array;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setLineDash ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setLineDash)]
|
||||
#[doc = "The `setLineDash()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)"]
|
||||
@ -914,7 +914,7 @@ extern "C" {
|
||||
this: &CanvasRenderingContext2d,
|
||||
segments: &::wasm_bindgen::JsValue,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc)]
|
||||
#[doc = "The `arc()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)"]
|
||||
@ -928,7 +928,7 @@ extern "C" {
|
||||
start_angle: f64,
|
||||
end_angle: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc)]
|
||||
#[doc = "The `arc()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)"]
|
||||
@ -943,7 +943,7 @@ extern "C" {
|
||||
end_angle: f64,
|
||||
anticlockwise: bool,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arcTo ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arcTo)]
|
||||
#[doc = "The `arcTo()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arcTo)"]
|
||||
@ -957,7 +957,7 @@ extern "C" {
|
||||
y2: f64,
|
||||
radius: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = bezierCurveTo ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = bezierCurveTo)]
|
||||
#[doc = "The `bezierCurveTo()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo)"]
|
||||
@ -972,14 +972,14 @@ extern "C" {
|
||||
x: f64,
|
||||
y: f64,
|
||||
);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = closePath ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = closePath)]
|
||||
#[doc = "The `closePath()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn close_path(this: &CanvasRenderingContext2d);
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse)]
|
||||
#[doc = "The `ellipse()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)"]
|
||||
@ -995,7 +995,7 @@ extern "C" {
|
||||
start_angle: f64,
|
||||
end_angle: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse)]
|
||||
#[doc = "The `ellipse()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)"]
|
||||
@ -1012,70 +1012,70 @@ extern "C" {
|
||||
end_angle: f64,
|
||||
anticlockwise: bool,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = lineTo ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = lineTo)]
|
||||
#[doc = "The `lineTo()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineTo)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn line_to(this: &CanvasRenderingContext2d, x: f64, y: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = moveTo ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = moveTo)]
|
||||
#[doc = "The `moveTo()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/moveTo)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn move_to(this: &CanvasRenderingContext2d, x: f64, y: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = quadraticCurveTo ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = quadraticCurveTo)]
|
||||
#[doc = "The `quadraticCurveTo()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn quadratic_curve_to(this: &CanvasRenderingContext2d, cpx: f64, cpy: f64, x: f64, y: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = rect ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = rect)]
|
||||
#[doc = "The `rect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearRect ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearRect)]
|
||||
#[doc = "The `clearRect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn clear_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillRect ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillRect)]
|
||||
#[doc = "The `fillRect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn fill_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeRect ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeRect)]
|
||||
#[doc = "The `strokeRect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeRect)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn stroke_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = restore ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = restore)]
|
||||
#[doc = "The `restore()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/restore)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn restore(this: &CanvasRenderingContext2d);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = save ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = save)]
|
||||
#[doc = "The `save()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/save)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn save(this: &CanvasRenderingContext2d);
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText)]
|
||||
#[doc = "The `fillText()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)"]
|
||||
@ -1087,7 +1087,7 @@ extern "C" {
|
||||
x: f64,
|
||||
y: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText)]
|
||||
#[doc = "The `fillText()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)"]
|
||||
@ -1101,7 +1101,7 @@ extern "C" {
|
||||
max_width: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "TextMetrics")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = measureText ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = measureText)]
|
||||
#[doc = "The `measureText()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText)"]
|
||||
@ -1111,7 +1111,7 @@ extern "C" {
|
||||
this: &CanvasRenderingContext2d,
|
||||
text: &str,
|
||||
) -> Result<TextMetrics, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText)]
|
||||
#[doc = "The `strokeText()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)"]
|
||||
@ -1123,7 +1123,7 @@ extern "C" {
|
||||
x: f64,
|
||||
y: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText)]
|
||||
#[doc = "The `strokeText()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)"]
|
||||
@ -1137,35 +1137,35 @@ extern "C" {
|
||||
max_width: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "DomMatrix")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getTransform ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getTransform)]
|
||||
#[doc = "The `getTransform()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getTransform)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `DomMatrix`*"]
|
||||
pub fn get_transform(this: &CanvasRenderingContext2d) -> Result<DomMatrix, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = resetTransform ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = resetTransform)]
|
||||
#[doc = "The `resetTransform()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/resetTransform)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn reset_transform(this: &CanvasRenderingContext2d) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = rotate ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = rotate)]
|
||||
#[doc = "The `rotate()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn rotate(this: &CanvasRenderingContext2d, angle: f64) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = scale ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = scale)]
|
||||
#[doc = "The `scale()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/scale)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn scale(this: &CanvasRenderingContext2d, x: f64, y: f64) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setTransform ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setTransform)]
|
||||
#[doc = "The `setTransform()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)"]
|
||||
@ -1180,7 +1180,7 @@ extern "C" {
|
||||
e: f64,
|
||||
f: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = transform ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = transform)]
|
||||
#[doc = "The `transform()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform)"]
|
||||
@ -1195,7 +1195,7 @@ extern "C" {
|
||||
e: f64,
|
||||
f: f64,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = translate ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = translate)]
|
||||
#[doc = "The `translate()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate)"]
|
||||
@ -1203,7 +1203,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
|
||||
pub fn translate(this: &CanvasRenderingContext2d, x: f64, y: f64) -> Result<(), JsValue>;
|
||||
#[cfg(feature = "Element")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawCustomFocusRing ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawCustomFocusRing)]
|
||||
#[doc = "The `drawCustomFocusRing()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawCustomFocusRing)"]
|
||||
@ -1211,7 +1211,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*"]
|
||||
pub fn draw_custom_focus_ring(this: &CanvasRenderingContext2d, element: &Element) -> bool;
|
||||
#[cfg(feature = "Element")]
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawFocusIfNeeded ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawFocusIfNeeded)]
|
||||
#[doc = "The `drawFocusIfNeeded()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CaretPosition , typescript_type = "CaretPosition" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretPosition , typescript_type = "CaretPosition")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CaretPosition` class."]
|
||||
#[doc = ""]
|
||||
@ -12,14 +12,14 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CaretPosition`*"]
|
||||
pub type CaretPosition;
|
||||
#[cfg(feature = "Node")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CaretPosition" , js_name = offsetNode ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CaretPosition" , js_name = offsetNode)]
|
||||
#[doc = "Getter for the `offsetNode` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offsetNode)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `Node`*"]
|
||||
pub fn offset_node(this: &CaretPosition) -> Option<Node>;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CaretPosition" , js_name = offset ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CaretPosition" , js_name = offset)]
|
||||
#[doc = "Getter for the `offset` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offset)"]
|
||||
@ -27,7 +27,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CaretPosition`*"]
|
||||
pub fn offset(this: &CaretPosition) -> u32;
|
||||
#[cfg(feature = "DomRect")]
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CaretPosition" , js_name = getClientRect ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CaretPosition" , js_name = getClientRect)]
|
||||
#[doc = "The `getClientRect()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/getClientRect)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CaretStateChangedEventInit ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretStateChangedEventInit)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CaretStateChangedEventInit` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Text , extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CDATASection , typescript_type = "CDATASection" ) ]
|
||||
# [wasm_bindgen (extends = Text , extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CDATASection , typescript_type = "CDATASection")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CdataSection` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelMergerNode , typescript_type = "ChannelMergerNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelMergerNode , typescript_type = "ChannelMergerNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChannelMergerNode` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelMergerOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelMergerOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChannelMergerOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelPixelLayout ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelPixelLayout)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChannelPixelLayout` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelSplitterNode , typescript_type = "ChannelSplitterNode" ) ]
|
||||
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelSplitterNode , typescript_type = "ChannelSplitterNode")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChannelSplitterNode` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelSplitterOptions ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelSplitterOptions)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChannelSplitterOptions` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CharacterData , typescript_type = "CharacterData" ) ]
|
||||
# [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CharacterData , typescript_type = "CharacterData")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CharacterData` class."]
|
||||
#[doc = ""]
|
||||
@ -11,21 +11,21 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub type CharacterData;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CharacterData" , js_name = data ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = data)]
|
||||
#[doc = "Getter for the `data` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn data(this: &CharacterData) -> String;
|
||||
# [ wasm_bindgen ( structural , method , setter , js_class = "CharacterData" , js_name = data ) ]
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "CharacterData" , js_name = data)]
|
||||
#[doc = "Setter for the `data` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn set_data(this: &CharacterData, value: &str);
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CharacterData" , js_name = length ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = length)]
|
||||
#[doc = "Getter for the `length` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/length)"]
|
||||
@ -33,7 +33,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn length(this: &CharacterData) -> u32;
|
||||
#[cfg(feature = "Element")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CharacterData" , js_name = previousElementSibling ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = previousElementSibling)]
|
||||
#[doc = "Getter for the `previousElementSibling` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/previousElementSibling)"]
|
||||
@ -41,35 +41,35 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`, `Element`*"]
|
||||
pub fn previous_element_sibling(this: &CharacterData) -> Option<Element>;
|
||||
#[cfg(feature = "Element")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "CharacterData" , js_name = nextElementSibling ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = nextElementSibling)]
|
||||
#[doc = "Getter for the `nextElementSibling` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/nextElementSibling)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`, `Element`*"]
|
||||
pub fn next_element_sibling(this: &CharacterData) -> Option<Element>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = appendData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = appendData)]
|
||||
#[doc = "The `appendData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/appendData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn append_data(this: &CharacterData, data: &str) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = deleteData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = deleteData)]
|
||||
#[doc = "The `deleteData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/deleteData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn delete_data(this: &CharacterData, offset: u32, count: u32) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = insertData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = insertData)]
|
||||
#[doc = "The `insertData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/insertData)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn insert_data(this: &CharacterData, offset: u32, data: &str) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceData)]
|
||||
#[doc = "The `replaceData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceData)"]
|
||||
@ -81,7 +81,7 @@ extern "C" {
|
||||
count: u32,
|
||||
data: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = substringData ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = substringData)]
|
||||
#[doc = "The `substringData()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/substringData)"]
|
||||
@ -89,28 +89,28 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn substring_data(this: &CharacterData, offset: u32, count: u32)
|
||||
-> Result<String, JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_node(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -121,7 +121,7 @@ extern "C" {
|
||||
nodes_1: &Node,
|
||||
nodes_2: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -133,7 +133,7 @@ extern "C" {
|
||||
nodes_2: &Node,
|
||||
nodes_3: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -146,7 +146,7 @@ extern "C" {
|
||||
nodes_3: &Node,
|
||||
nodes_4: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -160,7 +160,7 @@ extern "C" {
|
||||
nodes_4: &Node,
|
||||
nodes_5: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -175,7 +175,7 @@ extern "C" {
|
||||
nodes_5: &Node,
|
||||
nodes_6: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -191,28 +191,28 @@ extern "C" {
|
||||
nodes_6: &Node,
|
||||
nodes_7: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_str(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn after_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -223,7 +223,7 @@ extern "C" {
|
||||
nodes_1: &str,
|
||||
nodes_2: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -235,7 +235,7 @@ extern "C" {
|
||||
nodes_2: &str,
|
||||
nodes_3: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -248,7 +248,7 @@ extern "C" {
|
||||
nodes_3: &str,
|
||||
nodes_4: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -262,7 +262,7 @@ extern "C" {
|
||||
nodes_4: &str,
|
||||
nodes_5: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -277,7 +277,7 @@ extern "C" {
|
||||
nodes_5: &str,
|
||||
nodes_6: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
|
||||
#[doc = "The `after()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
|
||||
@ -293,28 +293,28 @@ extern "C" {
|
||||
nodes_6: &str,
|
||||
nodes_7: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_node(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -325,7 +325,7 @@ extern "C" {
|
||||
nodes_1: &Node,
|
||||
nodes_2: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -337,7 +337,7 @@ extern "C" {
|
||||
nodes_2: &Node,
|
||||
nodes_3: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -350,7 +350,7 @@ extern "C" {
|
||||
nodes_3: &Node,
|
||||
nodes_4: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -364,7 +364,7 @@ extern "C" {
|
||||
nodes_4: &Node,
|
||||
nodes_5: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -379,7 +379,7 @@ extern "C" {
|
||||
nodes_5: &Node,
|
||||
nodes_6: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -395,28 +395,28 @@ extern "C" {
|
||||
nodes_6: &Node,
|
||||
nodes_7: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_str(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn before_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -427,7 +427,7 @@ extern "C" {
|
||||
nodes_1: &str,
|
||||
nodes_2: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -439,7 +439,7 @@ extern "C" {
|
||||
nodes_2: &str,
|
||||
nodes_3: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -452,7 +452,7 @@ extern "C" {
|
||||
nodes_3: &str,
|
||||
nodes_4: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -466,7 +466,7 @@ extern "C" {
|
||||
nodes_4: &str,
|
||||
nodes_5: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -481,7 +481,7 @@ extern "C" {
|
||||
nodes_5: &str,
|
||||
nodes_6: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
|
||||
#[doc = "The `before()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
|
||||
@ -497,14 +497,14 @@ extern "C" {
|
||||
nodes_6: &str,
|
||||
nodes_7: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CharacterData" , js_name = remove ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CharacterData" , js_name = remove)]
|
||||
#[doc = "The `remove()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/remove)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn remove(this: &CharacterData);
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -514,21 +514,21 @@ extern "C" {
|
||||
this: &CharacterData,
|
||||
nodes: &::js_sys::Array,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn replace_with_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn replace_with_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -539,7 +539,7 @@ extern "C" {
|
||||
nodes_1: &Node,
|
||||
nodes_2: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -551,7 +551,7 @@ extern "C" {
|
||||
nodes_2: &Node,
|
||||
nodes_3: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -564,7 +564,7 @@ extern "C" {
|
||||
nodes_3: &Node,
|
||||
nodes_4: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -578,7 +578,7 @@ extern "C" {
|
||||
nodes_4: &Node,
|
||||
nodes_5: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -593,7 +593,7 @@ extern "C" {
|
||||
nodes_5: &Node,
|
||||
nodes_6: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -609,7 +609,7 @@ extern "C" {
|
||||
nodes_6: &Node,
|
||||
nodes_7: &Node,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -619,21 +619,21 @@ extern "C" {
|
||||
this: &CharacterData,
|
||||
nodes: &::js_sys::Array,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn replace_with_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
|
||||
pub fn replace_with_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -644,7 +644,7 @@ extern "C" {
|
||||
nodes_1: &str,
|
||||
nodes_2: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -656,7 +656,7 @@ extern "C" {
|
||||
nodes_2: &str,
|
||||
nodes_3: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -669,7 +669,7 @@ extern "C" {
|
||||
nodes_3: &str,
|
||||
nodes_4: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -683,7 +683,7 @@ extern "C" {
|
||||
nodes_4: &str,
|
||||
nodes_5: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
@ -698,7 +698,7 @@ extern "C" {
|
||||
nodes_5: &str,
|
||||
nodes_6: &str,
|
||||
) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
|
||||
#[doc = "The `replaceWith()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CheckerboardReport ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReport)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CheckerboardReport` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `CheckerboardReportService` class."]
|
||||
#[doc = ""]
|
||||
@ -18,28 +18,28 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
|
||||
pub fn new() -> Result<CheckerboardReportService, JsValue>;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports)]
|
||||
#[doc = "The `flushActiveReports()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
|
||||
pub fn flush_active_reports(this: &CheckerboardReportService);
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CheckerboardReportService" , js_name = getReports ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = getReports)]
|
||||
#[doc = "The `getReports()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/getReports)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
|
||||
pub fn get_reports(this: &CheckerboardReportService) -> ::js_sys::Array;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CheckerboardReportService" , js_name = isRecordingEnabled ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = isRecordingEnabled)]
|
||||
#[doc = "The `isRecordingEnabled()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
|
||||
pub fn is_recording_enabled(this: &CheckerboardReportService) -> bool;
|
||||
# [ wasm_bindgen ( method , structural , js_class = "CheckerboardReportService" , js_name = setRecordingEnabled ) ]
|
||||
# [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = setRecordingEnabled)]
|
||||
#[doc = "The `setRecordingEnabled()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)"]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChromeFilePropertyBag ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChromeFilePropertyBag)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChromeFilePropertyBag` dictionary."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = Worker , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChromeWorker , typescript_type = "ChromeWorker" ) ]
|
||||
# [wasm_bindgen (extends = Worker , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChromeWorker , typescript_type = "ChromeWorker")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `ChromeWorker` class."]
|
||||
#[doc = ""]
|
||||
|
@ -3,7 +3,7 @@ use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Client , typescript_type = "Client" ) ]
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Client , typescript_type = "Client")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Client` class."]
|
||||
#[doc = ""]
|
||||
@ -11,7 +11,7 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`*"]
|
||||
pub type Client;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Client" , js_name = url ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = url)]
|
||||
#[doc = "Getter for the `url` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/url)"]
|
||||
@ -19,7 +19,7 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`*"]
|
||||
pub fn url(this: &Client) -> String;
|
||||
#[cfg(feature = "FrameType")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Client" , js_name = frameType ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = frameType)]
|
||||
#[doc = "Getter for the `frameType` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/frameType)"]
|
||||
@ -27,28 +27,28 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`, `FrameType`*"]
|
||||
pub fn frame_type(this: &Client) -> FrameType;
|
||||
#[cfg(feature = "ClientType")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Client" , js_name = type ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = type)]
|
||||
#[doc = "Getter for the `type` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/type)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`, `ClientType`*"]
|
||||
pub fn type_(this: &Client) -> ClientType;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Client" , js_name = id ) ]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = id)]
|
||||
#[doc = "Getter for the `id` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/id)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`*"]
|
||||
pub fn id(this: &Client) -> String;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Client" , js_name = postMessage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Client" , js_name = postMessage)]
|
||||
#[doc = "The `postMessage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Client`*"]
|
||||
pub fn post_message(this: &Client, message: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
|
||||
# [ wasm_bindgen ( catch , method , structural , js_class = "Client" , js_name = postMessage ) ]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Client" , js_name = postMessage)]
|
||||
#[doc = "The `postMessage()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)"]
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user