maxcountryman_web_sys/features/
gen_FontFaceSetIterator.rs

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