Skip to main content

web_sys/features/
gen_SvgfeTurbulenceElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "SvgElement",
9        extends = "Element",
10        extends = "Node",
11        extends = "EventTarget",
12        extends = "::js_sys::Object",
13        js_name = "SVGFETurbulenceElement",
14        typescript_type = "SVGFETurbulenceElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeTurbulenceElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
22    pub type SvgfeTurbulenceElement;
23    #[cfg(feature = "SvgAnimatedNumber")]
24    #[wasm_bindgen(
25        method,
26        getter,
27        js_class = "SVGFETurbulenceElement",
28        js_name = "baseFrequencyX"
29    )]
30    #[doc = "Getter for the `baseFrequencyX` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyX)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
35    pub fn base_frequency_x(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
36    #[cfg(feature = "SvgAnimatedNumber")]
37    #[wasm_bindgen(
38        method,
39        getter,
40        js_class = "SVGFETurbulenceElement",
41        js_name = "baseFrequencyY"
42    )]
43    #[doc = "Getter for the `baseFrequencyY` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyY)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
48    pub fn base_frequency_y(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
49    #[cfg(feature = "SvgAnimatedInteger")]
50    #[wasm_bindgen(
51        method,
52        getter,
53        js_class = "SVGFETurbulenceElement",
54        js_name = "numOctaves"
55    )]
56    #[doc = "Getter for the `numOctaves` field of this object."]
57    #[doc = ""]
58    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/numOctaves)"]
59    #[doc = ""]
60    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeTurbulenceElement`*"]
61    pub fn num_octaves(this: &SvgfeTurbulenceElement) -> SvgAnimatedInteger;
62    #[cfg(feature = "SvgAnimatedNumber")]
63    #[wasm_bindgen(method, getter, js_class = "SVGFETurbulenceElement", js_name = "seed")]
64    #[doc = "Getter for the `seed` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/seed)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
69    pub fn seed(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
70    #[cfg(feature = "SvgAnimatedEnumeration")]
71    #[wasm_bindgen(
72        method,
73        getter,
74        js_class = "SVGFETurbulenceElement",
75        js_name = "stitchTiles"
76    )]
77    #[doc = "Getter for the `stitchTiles` field of this object."]
78    #[doc = ""]
79    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/stitchTiles)"]
80    #[doc = ""]
81    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*"]
82    pub fn stitch_tiles(this: &SvgfeTurbulenceElement) -> SvgAnimatedEnumeration;
83    #[cfg(feature = "SvgAnimatedEnumeration")]
84    #[wasm_bindgen(method, getter, js_class = "SVGFETurbulenceElement", js_name = "type")]
85    #[doc = "Getter for the `type` field of this object."]
86    #[doc = ""]
87    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/type)"]
88    #[doc = ""]
89    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*"]
90    pub fn type_(this: &SvgfeTurbulenceElement) -> SvgAnimatedEnumeration;
91    #[cfg(feature = "SvgAnimatedLength")]
92    #[wasm_bindgen(method, getter, js_class = "SVGFETurbulenceElement", js_name = "x")]
93    #[doc = "Getter for the `x` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/x)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
98    pub fn x(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
99    #[cfg(feature = "SvgAnimatedLength")]
100    #[wasm_bindgen(method, getter, js_class = "SVGFETurbulenceElement", js_name = "y")]
101    #[doc = "Getter for the `y` field of this object."]
102    #[doc = ""]
103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/y)"]
104    #[doc = ""]
105    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
106    pub fn y(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
107    #[cfg(feature = "SvgAnimatedLength")]
108    #[wasm_bindgen(method, getter, js_class = "SVGFETurbulenceElement", js_name = "width")]
109    #[doc = "Getter for the `width` field of this object."]
110    #[doc = ""]
111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/width)"]
112    #[doc = ""]
113    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
114    pub fn width(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
115    #[cfg(feature = "SvgAnimatedLength")]
116    #[wasm_bindgen(
117        method,
118        getter,
119        js_class = "SVGFETurbulenceElement",
120        js_name = "height"
121    )]
122    #[doc = "Getter for the `height` field of this object."]
123    #[doc = ""]
124    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/height)"]
125    #[doc = ""]
126    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
127    pub fn height(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
128    #[cfg(feature = "SvgAnimatedString")]
129    #[wasm_bindgen(
130        method,
131        getter,
132        js_class = "SVGFETurbulenceElement",
133        js_name = "result"
134    )]
135    #[doc = "Getter for the `result` field of this object."]
136    #[doc = ""]
137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/result)"]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTurbulenceElement`*"]
140    pub fn result(this: &SvgfeTurbulenceElement) -> SvgAnimatedString;
141}
142impl SvgfeTurbulenceElement {
143    #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN` const."]
144    #[doc = ""]
145    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
146    pub const SVG_TURBULENCE_TYPE_UNKNOWN: u16 = 0i64 as u16;
147    #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE` const."]
148    #[doc = ""]
149    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
150    pub const SVG_TURBULENCE_TYPE_FRACTALNOISE: u16 = 1u64 as u16;
151    #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE` const."]
152    #[doc = ""]
153    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
154    pub const SVG_TURBULENCE_TYPE_TURBULENCE: u16 = 2u64 as u16;
155    #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_UNKNOWN` const."]
156    #[doc = ""]
157    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
158    pub const SVG_STITCHTYPE_UNKNOWN: u16 = 0i64 as u16;
159    #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH` const."]
160    #[doc = ""]
161    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
162    pub const SVG_STITCHTYPE_STITCH: u16 = 1u64 as u16;
163    #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH` const."]
164    #[doc = ""]
165    #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
166    pub const SVG_STITCHTYPE_NOSTITCH: u16 = 2u64 as u16;
167}