Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
#[wasm_bindgen(
|
||||
extends = "SpeechSynthesisEvent",
|
||||
extends = "Event",
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "SpeechSynthesisErrorEvent",
|
||||
typescript_type = "SpeechSynthesisErrorEvent"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `SpeechSynthesisErrorEvent` class."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`*"]
|
||||
pub type SpeechSynthesisErrorEvent;
|
||||
#[cfg(feature = "SpeechSynthesisErrorCode")]
|
||||
#[wasm_bindgen(
|
||||
method,
|
||||
getter,
|
||||
js_class = "SpeechSynthesisErrorEvent",
|
||||
js_name = "error"
|
||||
)]
|
||||
#[doc = "Getter for the `error` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/error)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEvent`*"]
|
||||
pub fn error(this: &SpeechSynthesisErrorEvent) -> SpeechSynthesisErrorCode;
|
||||
#[cfg(feature = "SpeechSynthesisErrorEventInit")]
|
||||
#[wasm_bindgen(catch, constructor, js_class = "SpeechSynthesisErrorEvent")]
|
||||
#[doc = "The `new SpeechSynthesisErrorEvent(..)` constructor, creating a new instance of `SpeechSynthesisErrorEvent`."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/SpeechSynthesisErrorEvent)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`, `SpeechSynthesisErrorEventInit`*"]
|
||||
pub fn new(
|
||||
type_: &str,
|
||||
event_init_dict: &SpeechSynthesisErrorEventInit,
|
||||
) -> Result<SpeechSynthesisErrorEvent, JsValue>;
|
||||
}
|
||||
Reference in New Issue
Block a user