| #![allow(unused_imports)] |
| use super::*; |
| use wasm_bindgen::prelude::*; |
| #[wasm_bindgen] |
| extern "C" { |
| # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = FontFaceSetIterator , typescript_type = "FontFaceSetIterator")] |
| #[derive(Debug, Clone, PartialEq, Eq)] |
| #[doc = "The `FontFaceSetIterator` class."] |
| #[doc = ""] |
| #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator)"] |
| #[doc = ""] |
| #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`*"] |
| pub type FontFaceSetIterator; |
| #[cfg(feature = "FontFaceSetIteratorResult")] |
| # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSetIterator" , js_name = next)] |
| #[doc = "The `next()` method."] |
| #[doc = ""] |
| #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator/next)"] |
| #[doc = ""] |
| #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`, `FontFaceSetIteratorResult`*"] |
| pub fn next(this: &FontFaceSetIterator) -> Result<FontFaceSetIteratorResult, JsValue>; |
| } |