web_sys/features/
gen_SvgfeBlendElement.rs

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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEBlendElement , typescript_type = "SVGFEBlendElement")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `SvgfeBlendElement` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub type SvgfeBlendElement;
    #[cfg(feature = "SvgAnimatedString")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = in1)]
    #[doc = "Getter for the `in1` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in1)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
    pub fn in1(this: &SvgfeBlendElement) -> SvgAnimatedString;
    #[cfg(feature = "SvgAnimatedString")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = in2)]
    #[doc = "Getter for the `in2` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in2)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
    pub fn in2(this: &SvgfeBlendElement) -> SvgAnimatedString;
    #[cfg(feature = "SvgAnimatedEnumeration")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = mode)]
    #[doc = "Getter for the `mode` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/mode)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeBlendElement`*"]
    pub fn mode(this: &SvgfeBlendElement) -> SvgAnimatedEnumeration;
    #[cfg(feature = "SvgAnimatedLength")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = x)]
    #[doc = "Getter for the `x` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/x)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
    pub fn x(this: &SvgfeBlendElement) -> SvgAnimatedLength;
    #[cfg(feature = "SvgAnimatedLength")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = y)]
    #[doc = "Getter for the `y` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/y)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
    pub fn y(this: &SvgfeBlendElement) -> SvgAnimatedLength;
    #[cfg(feature = "SvgAnimatedLength")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = width)]
    #[doc = "Getter for the `width` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/width)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
    pub fn width(this: &SvgfeBlendElement) -> SvgAnimatedLength;
    #[cfg(feature = "SvgAnimatedLength")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = height)]
    #[doc = "Getter for the `height` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/height)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
    pub fn height(this: &SvgfeBlendElement) -> SvgAnimatedLength;
    #[cfg(feature = "SvgAnimatedString")]
    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = result)]
    #[doc = "Getter for the `result` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/result)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
    pub fn result(this: &SvgfeBlendElement) -> SvgAnimatedString;
}
impl SvgfeBlendElement {
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_UNKNOWN: u16 = 0i64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_NORMAL: u16 = 1u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_MULTIPLY: u16 = 2u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_SCREEN: u16 = 3u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_DARKEN: u16 = 4u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_LIGHTEN: u16 = 5u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_OVERLAY` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_OVERLAY: u16 = 6u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_DODGE` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_COLOR_DODGE: u16 = 7u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_BURN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_COLOR_BURN: u16 = 8u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HARD_LIGHT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_HARD_LIGHT: u16 = 9u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SOFT_LIGHT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_SOFT_LIGHT: u16 = 10u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DIFFERENCE` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_DIFFERENCE: u16 = 11u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_EXCLUSION` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_EXCLUSION: u16 = 12u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HUE` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_HUE: u16 = 13u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SATURATION` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_SATURATION: u16 = 14u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_COLOR: u16 = 15u64 as u16;
    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LUMINOSITY` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
    pub const SVG_FEBLEND_MODE_LUMINOSITY: u16 = 16u64 as u16;
}