1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Transformer)]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `Transformer` dictionary."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    pub type Transformer;
    #[doc = "Get the `flush` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, getter = "flush")]
    pub fn get_flush(this: &Transformer) -> Option<::js_sys::Function>;
    #[doc = "Change the `flush` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, setter = "flush")]
    pub fn set_flush(this: &Transformer, val: &::js_sys::Function);
    #[doc = "Get the `readableType` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, getter = "readableType")]
    pub fn get_readable_type(this: &Transformer) -> ::wasm_bindgen::JsValue;
    #[doc = "Change the `readableType` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, setter = "readableType")]
    pub fn set_readable_type(this: &Transformer, val: &::wasm_bindgen::JsValue);
    #[doc = "Get the `start` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, getter = "start")]
    pub fn get_start(this: &Transformer) -> Option<::js_sys::Function>;
    #[doc = "Change the `start` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, setter = "start")]
    pub fn set_start(this: &Transformer, val: &::js_sys::Function);
    #[doc = "Get the `transform` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, getter = "transform")]
    pub fn get_transform(this: &Transformer) -> Option<::js_sys::Function>;
    #[doc = "Change the `transform` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, setter = "transform")]
    pub fn set_transform(this: &Transformer, val: &::js_sys::Function);
    #[doc = "Get the `writableType` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, getter = "writableType")]
    pub fn get_writable_type(this: &Transformer) -> ::wasm_bindgen::JsValue;
    #[doc = "Change the `writableType` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    #[wasm_bindgen(method, setter = "writableType")]
    pub fn set_writable_type(this: &Transformer, val: &::wasm_bindgen::JsValue);
}
impl Transformer {
    #[doc = "Construct a new `Transformer`."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
    pub fn new() -> Self {
        #[allow(unused_mut)]
        let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
        ret
    }
    #[deprecated = "Use `set_flush()` instead."]
    pub fn flush(&mut self, val: &::js_sys::Function) -> &mut Self {
        self.set_flush(val);
        self
    }
    #[deprecated = "Use `set_readable_type()` instead."]
    pub fn readable_type(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
        self.set_readable_type(val);
        self
    }
    #[deprecated = "Use `set_start()` instead."]
    pub fn start(&mut self, val: &::js_sys::Function) -> &mut Self {
        self.set_start(val);
        self
    }
    #[deprecated = "Use `set_transform()` instead."]
    pub fn transform(&mut self, val: &::js_sys::Function) -> &mut Self {
        self.set_transform(val);
        self
    }
    #[deprecated = "Use `set_writable_type()` instead."]
    pub fn writable_type(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
        self.set_writable_type(val);
        self
    }
}
impl Default for Transformer {
    fn default() -> Self {
        Self::new()
    }
}