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