web_sys/features/
gen_FontFaceSetIterator.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = FontFaceSetIterator , typescript_type = "FontFaceSetIterator")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `FontFaceSetIterator` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`*"]
14 pub type FontFaceSetIterator;
15 #[cfg(feature = "FontFaceSetIteratorResult")]
16 # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSetIterator" , js_name = next)]
17 #[doc = "The `next()` method."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator/next)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`, `FontFaceSetIteratorResult`*"]
22 pub fn next(this: &FontFaceSetIterator) -> Result<FontFaceSetIteratorResult, JsValue>;
23}