Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no_export attribute and export all enums by default #4301

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/backend/src/ast.rs
Original file line number Diff line number Diff line change
@@ -360,6 +360,8 @@ pub struct StringEnum {
pub rust_attrs: Vec<syn::Attribute>,
/// Whether to generate a typescript definition for this enum
pub generate_typescript: bool,
/// Whether the type should not be exported in JS/TS.
pub no_export: bool,
/// Path to wasm_bindgen
pub wasm_bindgen: Path,
}
@@ -467,6 +469,8 @@ pub struct Enum {
pub hole: u32,
/// Whether to generate a typescript definition for this enum
pub generate_typescript: bool,
/// Whether the type should not be exported in JS/TS.
pub no_export: bool,
/// Path to wasm_bindgen
pub wasm_bindgen: Path,
}
2 changes: 2 additions & 0 deletions crates/backend/src/encode.rs
Original file line number Diff line number Diff line change
@@ -247,6 +247,7 @@ fn shared_enum<'a>(e: &'a ast::Enum, intern: &'a Interner) -> Enum<'a> {
.collect(),
comments: e.comments.iter().map(|s| &**s).collect(),
generate_typescript: e.generate_typescript,
no_export: e.no_export,
}
}

@@ -364,6 +365,7 @@ fn shared_import_enum<'a>(i: &'a ast::StringEnum, _intern: &'a Interner) -> Stri
StringEnum {
name: &i.js_name,
generate_typescript: i.generate_typescript,
no_export: i.no_export,
variant_values: i.variant_values.iter().map(|x| &**x).collect(),
comments: i.comments.iter().map(|s| &**s).collect(),
}
9 changes: 8 additions & 1 deletion crates/cli-support/src/js/binding.rs
Original file line number Diff line number Diff line change
@@ -87,6 +87,7 @@ pub struct JsFunction {
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum TsReference {
StringEnum(String),
Enum(String),
}

impl<'a, 'b> Builder<'a, 'b> {
@@ -1570,7 +1571,13 @@ fn adapter2ts(ty: &AdapterType, dst: &mut String, refs: Option<&mut HashSet<TsRe
}
AdapterType::NamedExternref(name) => dst.push_str(name),
AdapterType::Struct(name) => dst.push_str(name),
AdapterType::Enum(name) => dst.push_str(name),
AdapterType::Enum(name) => {
if let Some(refs) = refs {
refs.insert(TsReference::Enum(name.clone()));
}

dst.push_str(name)
}
AdapterType::StringEnum(name) => {
if let Some(refs) = refs {
refs.insert(TsReference::StringEnum(name.clone()));
62 changes: 38 additions & 24 deletions crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
@@ -3915,12 +3915,21 @@ __wbg_set_wasm(wasm);"
fn generate_enum(&mut self, enum_: &AuxEnum) -> Result<(), Error> {
let mut variants = String::new();

if enum_.generate_typescript {
let is_used_in_typescript = self
.typescript_refs
.contains(&TsReference::Enum(enum_.name.clone()));

let ts = enum_.generate_typescript && (!enum_.no_export || is_used_in_typescript);

if ts {
self.typescript
.push_str(&format_doc_comments(&enum_.comments, None));
self.typescript
.push_str(&format!("export enum {} {{", enum_.name));
if !enum_.no_export {
self.typescript.push_str("export ");
}
self.typescript.push_str(&format!("enum {} {{", enum_.name));
}

for (name, value, comments) in enum_.variants.iter() {
let variant_docs = if comments.is_empty() {
String::new()
@@ -3930,7 +3939,7 @@ __wbg_set_wasm(wasm);"
variants.push_str(&variant_docs);
variants.push_str(&format!("{}: {}, ", name, value));
variants.push_str(&format!("\"{}\": \"{}\",\n", value, name));
if enum_.generate_typescript {
if ts {
self.typescript.push('\n');
if !variant_docs.is_empty() {
for line in variant_docs.lines() {
@@ -3942,26 +3951,28 @@ __wbg_set_wasm(wasm);"
self.typescript.push_str(&format!(" {name} = {value},"));
}
}
if enum_.generate_typescript {
if ts {
self.typescript.push_str("\n}\n");
}

// add an `@enum {1 | 2 | 3}` to ensure that enums type-check even without .d.ts
let mut at_enum = "@enum {".to_string();
for (i, (_, value, _)) in enum_.variants.iter().enumerate() {
if i != 0 {
at_enum.push_str(" | ");
if !enum_.no_export {
// add an `@enum {1 | 2 | 3}` to ensure that enums type-check even without .d.ts
let mut at_enum = "@enum {".to_string();
for (i, (_, value, _)) in enum_.variants.iter().enumerate() {
if i != 0 {
at_enum.push_str(" | ");
}
at_enum.push_str(&value.to_string());
}
at_enum.push_str(&value.to_string());
}
at_enum.push('}');
let docs = format_doc_comments(&enum_.comments, Some(at_enum));
at_enum.push('}');
let docs = format_doc_comments(&enum_.comments, Some(at_enum));

self.export(
&enum_.name,
&format!("Object.freeze({{\n{}}})", variants),
Some(&docs),
)?;
self.export(
&enum_.name,
&format!("Object.freeze({{\n{}}})", variants),
Some(&docs),
)?;
}

Ok(())
}
@@ -3973,11 +3984,11 @@ __wbg_set_wasm(wasm);"
.map(|v| format!("\"{v}\""))
.collect();

if string_enum.generate_typescript
&& self
.typescript_refs
.contains(&TsReference::StringEnum(string_enum.name.clone()))
{
let is_used_in_typescript = self
.typescript_refs
.contains(&TsReference::StringEnum(string_enum.name.clone()));

if string_enum.generate_typescript && (!string_enum.no_export || is_used_in_typescript) {
let docs = format_doc_comments(&string_enum.comments, None);
let type_expr = if variants.is_empty() {
"never".to_string()
@@ -3986,6 +3997,9 @@ __wbg_set_wasm(wasm);"
};

self.typescript.push_str(&docs);
if !string_enum.no_export {
self.typescript.push_str("export ");
}
self.typescript.push_str("type ");
self.typescript.push_str(&string_enum.name);
self.typescript.push_str(" = ");
2 changes: 2 additions & 0 deletions crates/cli-support/src/wit/mod.rs
Original file line number Diff line number Diff line change
@@ -875,6 +875,7 @@ impl<'a> Context<'a> {
.map(|v| v.to_string())
.collect(),
generate_typescript: string_enum.generate_typescript,
no_export: string_enum.no_export,
};
let mut result = Ok(());
self.aux
@@ -909,6 +910,7 @@ impl<'a> Context<'a> {
})
.collect(),
generate_typescript: enum_.generate_typescript,
no_export: enum_.no_export,
};
let mut result = Ok(());
self.aux
4 changes: 4 additions & 0 deletions crates/cli-support/src/wit/nonstandard.rs
Original file line number Diff line number Diff line change
@@ -173,6 +173,8 @@ pub struct AuxEnum {
pub variants: Vec<(String, i64, String)>,
/// Whether typescript bindings should be generated for this enum.
pub generate_typescript: bool,
/// Whether the type should not be exported in JS/TS.
pub no_export: bool,
}

#[derive(Debug)]
@@ -185,6 +187,8 @@ pub struct AuxStringEnum {
pub variant_values: Vec<String>,
/// Whether typescript bindings should be generated for this enum.
pub generate_typescript: bool,
/// Whether the type should not be exported in JS/TS.
pub no_export: bool,
}

#[derive(Debug)]
17 changes: 16 additions & 1 deletion crates/cli/tests/reference/enums.d.ts
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ export function enum_echo(color: Color): Color;
export function option_enum_echo(color?: Color): Color | undefined;
export function get_name(color: Color): ColorName;
export function option_string_enum_echo(color?: ColorName): ColorName | undefined;
export function use_used(arg0: NoExportButUsedStringEnum, arg1: NoExportButUsedEnum): void;
export function option_order(order?: Ordering): Ordering | undefined;
/**
* A color.
@@ -28,6 +29,10 @@ export enum ImplicitDiscriminant {
C = 42,
D = 43,
}
enum NoExportButUsedEnum {
Foo = 0,
Bar = 1,
}
/**
* A C-style enum with negative discriminants.
*/
@@ -36,7 +41,17 @@ export enum Ordering {
Equal = 0,
Greater = 1,
}
export enum PrivateEnum {
Foo = 0,
Bar = 1,
}
/**
* The name of a color.
*/
type ColorName = "green" | "yellow" | "red";
export type ColorName = "green" | "yellow" | "red";
/**
* An unused string enum.
*/
export type FooBar = "foo" | "bar";
type NoExportButUsedStringEnum = "foo" | "bar";
export type PrivateStringEnum = "foo" | "bar";
17 changes: 17 additions & 0 deletions crates/cli/tests/reference/enums.js
Original file line number Diff line number Diff line change
@@ -62,6 +62,14 @@ export function option_string_enum_echo(color) {
return __wbindgen_enum_ColorName[ret];
}

/**
* @param {NoExportButUsedStringEnum} arg0
* @param {NoExportButUsedEnum} arg1
*/
export function use_used(arg0, arg1) {
wasm.use_used((__wbindgen_enum_NoExportButUsedStringEnum.indexOf(arg0) + 1 || 3) - 1, arg1);
}

/**
* @param {Ordering | undefined} [order]
* @returns {Ordering | undefined}
@@ -107,9 +115,18 @@ export const Ordering = Object.freeze({
Equal: 0, "0": "Equal",
Greater: 1, "1": "Greater",
});
/**
* @enum {0 | 1}
*/
export const PrivateEnum = Object.freeze({
Foo: 0, "0": "Foo",
Bar: 1, "1": "Bar",
});

const __wbindgen_enum_ColorName = ["green", "yellow", "red"];

const __wbindgen_enum_NoExportButUsedStringEnum = ["foo", "bar"];

export function __wbindgen_init_externref_table() {
const table = wasm.__wbindgen_export_0;
const offset = table.grow(4);
30 changes: 30 additions & 0 deletions crates/cli/tests/reference/enums.rs
Original file line number Diff line number Diff line change
@@ -57,6 +57,36 @@ enum PrivateStringEnum {
Foo = "foo",
Bar = "bar",
}
#[wasm_bindgen]
enum PrivateEnum {
Foo,
Bar,
}

#[wasm_bindgen(no_export)]
pub enum NoExportStringEnum {
Foo = "foo",
Bar = "bar",
}
#[wasm_bindgen(no_export)]
pub enum NoExportEnum {
Foo,
Bar,
}

#[wasm_bindgen(no_export)]
pub enum NoExportButUsedStringEnum {
Foo = "foo",
Bar = "bar",
}
#[wasm_bindgen(no_export)]
pub enum NoExportButUsedEnum {
Foo,
Bar,
}

#[wasm_bindgen]
pub fn use_used(arg0: NoExportButUsedStringEnum, arg1: NoExportButUsedEnum) {}

#[wasm_bindgen]
pub enum ImplicitDiscriminant {
13 changes: 8 additions & 5 deletions crates/cli/tests/reference/enums.wat
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
(module $reference_test.wasm
(type (;0;) (func))
(type (;1;) (func (param i32) (result i32)))
(type (;2;) (func (param i32 i32)))
(import "./reference_test_bg.js" "__wbindgen_init_externref_table" (func (;0;) (type 0)))
(func $enum_echo (;1;) (type 1) (param i32) (result i32))
(func $option_enum_echo (;2;) (type 1) (param i32) (result i32))
(func $get_name (;3;) (type 1) (param i32) (result i32))
(func $option_string_enum_echo (;4;) (type 1) (param i32) (result i32))
(func $option_order (;5;) (type 1) (param i32) (result i32))
(func $use_used (;1;) (type 2) (param i32 i32))
(func $enum_echo (;2;) (type 1) (param i32) (result i32))
(func $option_enum_echo (;3;) (type 1) (param i32) (result i32))
(func $get_name (;4;) (type 1) (param i32) (result i32))
(func $option_string_enum_echo (;5;) (type 1) (param i32) (result i32))
(func $option_order (;6;) (type 1) (param i32) (result i32))
(table (;0;) 128 externref)
(memory (;0;) 17)
(export "memory" (memory 0))
(export "enum_echo" (func $enum_echo))
(export "option_enum_echo" (func $option_enum_echo))
(export "get_name" (func $get_name))
(export "option_string_enum_echo" (func $option_string_enum_echo))
(export "use_used" (func $use_used))
(export "option_order" (func $option_order))
(export "__wbindgen_export_0" (table 0))
(export "__wbindgen_start" (func 0))
19 changes: 13 additions & 6 deletions crates/macro-support/src/parser.rs
Original file line number Diff line number Diff line change
@@ -92,6 +92,7 @@ macro_rules! attrgen {
(js_sys, JsSys(Span, syn::Path)),
(wasm_bindgen_futures, WasmBindgenFutures(Span, syn::Path)),
(skip, Skip(Span)),
(no_export, NoExport(Span)),
(typescript_type, TypeScriptType(Span, String, Span)),
(getter_with_clone, GetterWithClone(Span)),
(static_string, StaticString(Span)),
@@ -1375,6 +1376,7 @@ fn string_enum(
program: &mut ast::Program,
js_name: String,
generate_typescript: bool,
no_export: bool,
comments: Vec<String>,
) -> Result<(), Diagnostic> {
let mut variants = vec![];
@@ -1414,6 +1416,7 @@ fn string_enum(
comments,
rust_attrs: enum_.attrs,
generate_typescript,
no_export,
wasm_bindgen: program.wasm_bindgen.clone(),
}),
});
@@ -1481,6 +1484,7 @@ impl<'a> MacroParse<(&'a mut TokenStream, BindgenAttrs)> for syn::ItemEnum {
}

let generate_typescript = opts.skip_typescript().is_none();
let no_export = opts.no_export().is_some();
let js_name = opts
.js_name()
.map(|s| s.0)
@@ -1503,12 +1507,14 @@ impl<'a> MacroParse<(&'a mut TokenStream, BindgenAttrs)> for syn::ItemEnum {
false
});
if is_string_enum {
return string_enum(self, program, js_name, generate_typescript, comments);
}

match self.vis {
syn::Visibility::Public(_) => {}
_ => bail_span!(self, "only public enums are allowed with #[wasm_bindgen]"),
return string_enum(
self,
program,
js_name,
generate_typescript,
no_export,
comments,
);
}

// Go through all variants once first to determine whether the enum is
@@ -1613,6 +1619,7 @@ impl<'a> MacroParse<(&'a mut TokenStream, BindgenAttrs)> for syn::ItemEnum {
comments,
hole,
generate_typescript,
no_export,
wasm_bindgen: program.wasm_bindgen.clone(),
});
Ok(())
2 changes: 2 additions & 0 deletions crates/shared/src/lib.rs
Original file line number Diff line number Diff line change
@@ -109,6 +109,7 @@ macro_rules! shared_api {
variant_values: Vec<&'a str>,
comments: Vec<&'a str>,
generate_typescript: bool,
no_export: bool,
}

struct Export<'a> {
@@ -126,6 +127,7 @@ macro_rules! shared_api {
variants: Vec<EnumVariant<'a>>,
comments: Vec<&'a str>,
generate_typescript: bool,
no_export: bool,
}

struct EnumVariant<'a> {
2 changes: 1 addition & 1 deletion crates/shared/src/schema_hash_approval.rs
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
// If the schema in this library has changed then:
// 1. Bump the version in `crates/shared/Cargo.toml`
// 2. Change the `SCHEMA_VERSION` in this library to this new Cargo.toml version
const APPROVED_SCHEMA_FILE_HASH: &str = "8234561557367848394";
const APPROVED_SCHEMA_FILE_HASH: &str = "9911558308202795111";

#[test]
fn schema_version() {
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AlignSetting.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AlignSetting` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AlignSetting`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AlphaOption.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AlphaOption` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AlphaOption`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AnimationPlayState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AnimationPlayState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AnimationPlayState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AttestationConveyancePreference` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AttestationConveyancePreference`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AudioContextLatencyCategory` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioContextLatencyCategory`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AudioContextState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AudioContextState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioContextState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AudioSampleFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AudioSampleFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioSampleFormat`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AudioSinkType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AudioSinkType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioSinkType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AuthenticatorAttachment.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AuthenticatorAttachment` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttachment`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AuthenticatorTransport.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AuthenticatorTransport` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AuthenticatorTransport`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_AutoKeyword.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `AutoKeyword` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AutoKeyword`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_BasicCardType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `BasicCardType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `BasicCardType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_BinaryType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `BinaryType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `BinaryType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_BiquadFilterType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `BiquadFilterType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `BiquadFilterType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `BrowserFindCaseSensitivity` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `BrowserFindCaseSensitivity`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_BrowserFindDirection.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `BrowserFindDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `BrowserFindDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CacheStorageNamespace.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CacheStorageNamespace` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CacheStorageNamespace`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CanvasWindingRule.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CanvasWindingRule` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CaretChangedReason.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CaretChangedReason` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CaretChangedReason`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ChannelCountMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ChannelCountMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ChannelInterpretation.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ChannelInterpretation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CheckerboardReason.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CheckerboardReason` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CheckerboardReason`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ClientType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ClientType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ClientType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CodecState.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CodecState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CodecState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ColorSpaceConversion.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ColorSpaceConversion` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ColorSpaceConversion`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CompositeOperation.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CompositeOperation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CompositeOperation`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CompressionFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CompressionFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CompressionFormat`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ConnectionType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ConnectionType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConnectionType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ConsoleLevel.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ConsoleLevel` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConsoleLevel`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ConsoleLogLevel.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ConsoleLogLevel` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConsoleLogLevel`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_CssBoxType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CssBoxType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssBoxType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `CssStyleSheetParsingMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssStyleSheetParsingMode`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `DecoderDoctorNotificationType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotificationType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_DirectionSetting.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `DirectionSetting` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DirectionSetting`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_DistanceModelType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `DistanceModelType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DistanceModelType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_DomRequestReadyState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `DomRequestReadyState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DomRequestReadyState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_EncodedAudioChunkType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `EncodedAudioChunkType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_EncodedVideoChunkType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `EncodedVideoChunkType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_EndingTypes.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `EndingTypes` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `EndingTypes`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FetchState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FetchState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FetchState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FileSystemHandleKind.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FileSystemHandleKind` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FileSystemHandleKind`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FileSystemPermissionMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FileSystemPermissionMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FillMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FillMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FillMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FlashClassification.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FlashClassification` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FlashClassification`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FlowControlType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FlowControlType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FlowControlType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FontFaceLoadStatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FontFaceLoadStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FontFaceLoadStatus`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FontFaceSetLoadStatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FontFaceSetLoadStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadStatus`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_FrameType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `FrameType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `FrameType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GamepadHand.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GamepadHand` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GamepadHand`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GamepadHapticActuatorType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GamepadHapticActuatorType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GamepadHapticEffectType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GamepadHapticEffectType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GamepadHapticEffectType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GamepadHapticsResult.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GamepadHapticsResult` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GamepadHapticsResult`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GamepadMappingType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GamepadMappingType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuAddressMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuAddressMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuAddressMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuAutoLayoutMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuAutoLayoutMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuAutoLayoutMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuBlendFactor.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuBlendFactor` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuBlendFactor`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuBlendOperation.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuBlendOperation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuBlendOperation`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuBufferBindingType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuBufferBindingType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuBufferMapState.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuBufferMapState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuBufferMapState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuCanvasAlphaMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuCanvasAlphaMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuCanvasAlphaMode`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuCanvasToneMappingMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuCanvasToneMappingMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuCompareFunction.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuCompareFunction` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuCompareFunction`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuCompilationMessageType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessageType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuCullMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuCullMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuCullMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuDeviceLostReason.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuDeviceLostReason` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuDeviceLostReason`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuErrorFilter.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuErrorFilter` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuErrorFilter`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuFeatureName.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuFeatureName` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuFeatureName`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuFilterMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuFilterMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuFilterMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuFrontFace.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuFrontFace` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuFrontFace`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuIndexFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuIndexFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuIndexFormat`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuLoadOp.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuLoadOp` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuMipmapFilterMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuMipmapFilterMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuMipmapFilterMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuPipelineErrorReason.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuPipelineErrorReason` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuPipelineErrorReason`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuPowerPreference.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuPowerPreference` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuPowerPreference`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuPrimitiveTopology.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuPrimitiveTopology` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveTopology`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuQueryType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuQueryType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuQueryType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuSamplerBindingType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuSamplerBindingType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuSamplerBindingType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuStencilOperation.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuStencilOperation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuStencilOperation`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuStorageTextureAccess.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuStorageTextureAccess` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureAccess`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuStoreOp.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuStoreOp` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuStoreOp`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuTextureAspect.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuTextureAspect` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuTextureAspect`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuTextureDimension.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuTextureDimension` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuTextureDimension`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuTextureFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuTextureFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuTextureFormat`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuTextureSampleType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuTextureSampleType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuTextureSampleType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuTextureViewDimension.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuTextureViewDimension` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDimension`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuVertexFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuVertexFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuVertexFormat`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_GpuVertexStepMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `GpuVertexStepMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `GpuVertexStepMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_HardwareAcceleration.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `HardwareAcceleration` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HardwareAcceleration`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_HeadersGuardEnum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `HeadersGuardEnum` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HeadersGuardEnum`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_HidUnitSystem.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `HidUnitSystem` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HidUnitSystem`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_IdbCursorDirection.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `IdbCursorDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_IdbRequestReadyState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `IdbRequestReadyState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbRequestReadyState`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `IdbTransactionDurability` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbTransactionDurability`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_IdbTransactionMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `IdbTransactionMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbTransactionMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ImageOrientation.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ImageOrientation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ImageOrientation`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `IterationCompositeOperation` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_LargeBlobSupport.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `LargeBlobSupport` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `LargeBlobSupport`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_LatencyMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `LatencyMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `LatencyMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_LineAlignSetting.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `LineAlignSetting` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `LineAlignSetting`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_LockMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `LockMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `LockMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaDecodingType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaDecodingType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaDecodingType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaDeviceKind.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaDeviceKind` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaDeviceKind`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaEncodingType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaEncodingType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaEncodingType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaKeyMessageType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaKeyMessageType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaKeySessionType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaKeySessionType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaKeySessionType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaKeyStatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaKeyStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaKeyStatus`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaKeySystemStatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaKeySystemStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaKeySystemStatus`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaKeysRequirement.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaKeysRequirement` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaKeysRequirement`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaSessionAction.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaSessionAction` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaSessionAction`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaSessionPlaybackState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaSessionPlaybackState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaSourceEndOfStreamError` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaSourceEndOfStreamError`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaSourceEnum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaSourceEnum` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaSourceEnum`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaSourceReadyState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaSourceReadyState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaSourceReadyState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MediaStreamTrackState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MediaStreamTrackState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MidiPortConnectionState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MidiPortConnectionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MidiPortConnectionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MidiPortDeviceState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MidiPortDeviceState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MidiPortDeviceState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_MidiPortType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `MidiPortType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `MidiPortType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_NavigationType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `NavigationType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `NavigationType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_NotificationDirection.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `NotificationDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `NotificationDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_NotificationPermission.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `NotificationPermission` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `NotificationPermission`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_OrientationLockType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `OrientationLockType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `OrientationLockType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_OrientationType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `OrientationType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `OrientationType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_OscillatorType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `OscillatorType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `OscillatorType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_OverSampleType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `OverSampleType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `OverSampleType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PanningModelType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PanningModelType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PanningModelType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ParityType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ParityType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ParityType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PaymentComplete.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PaymentComplete` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PaymentComplete`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PcImplIceConnectionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PcImplIceConnectionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PcImplIceGatheringState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PcImplIceGatheringState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PcImplIceGatheringState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PcImplSignalingState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PcImplSignalingState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PcImplSignalingState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PcObserverStateType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PcObserverStateType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PcObserverStateType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PermissionName.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PermissionName` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PermissionName`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PermissionState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PermissionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PermissionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PlaybackDirection.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PlaybackDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PlaybackDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PositionAlignSetting.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PositionAlignSetting` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PositionAlignSetting`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PremultiplyAlpha.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PremultiplyAlpha` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PremultiplyAlpha`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PresentationConnectionBinaryType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionBinaryType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PresentationConnectionClosedReason` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionClosedReason`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PresentationConnectionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PresentationStyle.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PresentationStyle` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PresentationStyle`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ProfileTimelineMessagePortOperationType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMessagePortOperationType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ProfileTimelineWorkerOperationType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ProfileTimelineWorkerOperationType`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PublicKeyCredentialHints` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialHints`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PublicKeyCredentialType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PublicKeyCredentialType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PushEncryptionKeyName.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PushEncryptionKeyName` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PushEncryptionKeyName`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_PushPermissionState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `PushPermissionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `PushPermissionState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ReadableStreamReaderMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamReaderMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ReadableStreamType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ReadableStreamType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RecordingState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RecordingState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RecordingState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ReferrerPolicy.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ReferrerPolicy` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ReferrerPolicy`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RequestCache.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RequestCache` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RequestCache`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RequestCredentials.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RequestCredentials` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RequestCredentials`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RequestDestination.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RequestDestination` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RequestDestination`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RequestMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RequestMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RequestMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RequestRedirect.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RequestRedirect` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RequestRedirect`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ResidentKeyRequirement.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ResidentKeyRequirement` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ResidentKeyRequirement`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ResizeObserverBoxOptions` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ResizeObserverBoxOptions`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ResizeQuality.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ResizeQuality` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ResizeQuality`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ResponseType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ResponseType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ResponseType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcBundlePolicy.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcBundlePolicy` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcBundlePolicy`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcDataChannelState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcDataChannelState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcDataChannelState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcDataChannelType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcDataChannelType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcDataChannelType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcDegradationPreference` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcDegradationPreference`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcEncodedVideoFrameType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcEncodedVideoFrameType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcIceConnectionState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcIceConnectionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcIceConnectionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcIceCredentialType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcIceCredentialType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcIceCredentialType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcIceGatheringState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcIceGatheringState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcIceGatheringState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcIceTransportPolicy.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcIceTransportPolicy` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcIceTransportPolicy`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcPeerConnectionState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcPeerConnectionState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcPriorityType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcPriorityType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcPriorityType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcRtpSourceEntryType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcRtpSourceEntryType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntryType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcRtpTransceiverDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcSdpType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcSdpType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcSdpType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcSignalingState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcSignalingState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcSignalingState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcStatsIceCandidatePairState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcStatsIceCandidatePairState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcStatsIceCandidateType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcStatsIceCandidateType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_RtcStatsType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `RtcStatsType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcStatsType`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SFrameTransformErrorEventType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEventType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_SFrameTransformRole.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SFrameTransformRole` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SFrameTransformRole`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScreenColorGamut.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScreenColorGamut` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScreenColorGamut`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScrollBehavior.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScrollBehavior` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScrollBehavior`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScrollLogicalPosition.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScrollLogicalPosition` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScrollLogicalPosition`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScrollRestoration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScrollRestoration` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScrollRestoration`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScrollSetting.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScrollSetting` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScrollSetting`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ScrollState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ScrollState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ScrollState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SecurityPolicyViolationEventDisposition` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventDisposition`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_SelectionMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SelectionMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SelectionMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ServiceWorkerState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ServiceWorkerState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ServiceWorkerState`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ServiceWorkerUpdateViaCache` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ServiceWorkerUpdateViaCache`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_ShadowRootMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `ShadowRootMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ShadowRootMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_SocketReadyState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SocketReadyState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SocketReadyState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_SourceBufferAppendMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SourceBufferAppendMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SourceBufferAppendMode`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SpeechRecognitionErrorCode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorCode`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SpeechSynthesisErrorCode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_StorageType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `StorageType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `StorageType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_SupportedType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `SupportedType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `SupportedType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TaskPriority.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TaskPriority` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TaskPriority`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TcpReadyState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TcpReadyState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TcpReadyState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TcpSocketBinaryType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TcpSocketBinaryType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TcpSocketBinaryType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TextTrackKind.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TextTrackKind` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TextTrackKind`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TextTrackMode.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TextTrackMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TextTrackMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_TokenBindingStatus.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `TokenBindingStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `TokenBindingStatus`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_Transport.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `Transport` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Transport`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_UsbDirection.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UsbDirection` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UsbDirection`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_UsbEndpointType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UsbEndpointType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UsbEndpointType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_UsbRecipient.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UsbRecipient` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UsbRecipient`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_UsbRequestType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UsbRequestType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UsbRequestType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_UsbTransferStatus.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UsbTransferStatus` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UsbTransferStatus`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `UserVerificationRequirement` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `UserVerificationRequirement`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VideoColorPrimaries.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VideoColorPrimaries` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VideoColorPrimaries`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VideoFacingModeEnum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VideoFacingModeEnum` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VideoFacingModeEnum`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VideoMatrixCoefficients.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VideoMatrixCoefficients` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VideoMatrixCoefficients`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VideoPixelFormat.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VideoPixelFormat` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VideoPixelFormat`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VideoTransferCharacteristics` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VideoTransferCharacteristics`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VisibilityState.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VisibilityState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VisibilityState`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_VrEye.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `VrEye` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `VrEye`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WakeLockType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WakeLockType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WakeLockType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WebGlPowerPreference.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WebGlPowerPreference` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WebGlPowerPreference`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WebTransportCongestionControl` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WebTransportCongestionControl`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WebTransportErrorSource.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WebTransportErrorSource` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WebTransportErrorSource`*"]
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WebTransportReliabilityMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WebTransportReliabilityMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WellKnownDirectory.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WellKnownDirectory` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WellKnownDirectory`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WorkerType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WorkerType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WorkerType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_WriteCommandType.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `WriteCommandType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `WriteCommandType`*"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_imports)]
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XmlHttpRequestResponseType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestResponseType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrEye.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrEye` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrEye`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrHandJoint.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrHandJoint` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrHandJoint`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrHandedness.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrHandedness` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrHandedness`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrReferenceSpaceType.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrReferenceSpaceType` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceType`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrSessionMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrSessionMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrSessionMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrTargetRayMode.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrTargetRayMode` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrTargetRayMode`*"]
2 changes: 1 addition & 1 deletion crates/web-sys/src/features/gen_XrVisibilityState.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#![allow(clippy::all)]
use wasm_bindgen::prelude::*;
#[cfg(web_sys_unstable_apis)]
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#[doc = "The `XrVisibilityState` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `XrVisibilityState`*"]
2 changes: 1 addition & 1 deletion crates/webidl/src/generator.rs
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ impl Enum {
use wasm_bindgen::prelude::*;

#unstable_attr
#[wasm_bindgen]
#[wasm_bindgen(no_export)]
#doc_comment
#unstable_docs
#[derive(Debug, Clone, Copy, PartialEq, Eq)]