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