objc2_web_kit/generated/
DOMHTMLTableCellElement.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(
13 DOMHTMLElement,
14 DOMElement,
15 DOMNode,
16 DOMObject,
17 WebScriptObject,
18 NSObject
19 ))]
20 #[derive(Debug, PartialEq, Eq, Hash)]
21 #[cfg(all(
22 feature = "DOMElement",
23 feature = "DOMHTMLElement",
24 feature = "DOMNode",
25 feature = "DOMObject",
26 feature = "WebScriptObject"
27 ))]
28 #[deprecated]
29 pub struct DOMHTMLTableCellElement;
30);
31
32#[cfg(all(
33 feature = "DOMElement",
34 feature = "DOMEventTarget",
35 feature = "DOMHTMLElement",
36 feature = "DOMNode",
37 feature = "DOMObject",
38 feature = "WebScriptObject"
39))]
40unsafe impl DOMEventTarget for DOMHTMLTableCellElement {}
41
42#[cfg(all(
43 feature = "DOMElement",
44 feature = "DOMHTMLElement",
45 feature = "DOMNode",
46 feature = "DOMObject",
47 feature = "WebScriptObject"
48))]
49unsafe impl NSCopying for DOMHTMLTableCellElement {}
50
51#[cfg(all(
52 feature = "DOMElement",
53 feature = "DOMHTMLElement",
54 feature = "DOMNode",
55 feature = "DOMObject",
56 feature = "WebScriptObject"
57))]
58unsafe impl CopyingHelper for DOMHTMLTableCellElement {
59 type Result = Self;
60}
61
62#[cfg(all(
63 feature = "DOMElement",
64 feature = "DOMHTMLElement",
65 feature = "DOMNode",
66 feature = "DOMObject",
67 feature = "WebScriptObject"
68))]
69unsafe impl NSObjectProtocol for DOMHTMLTableCellElement {}
70
71#[cfg(all(
72 feature = "DOMElement",
73 feature = "DOMHTMLElement",
74 feature = "DOMNode",
75 feature = "DOMObject",
76 feature = "WebScriptObject"
77))]
78impl DOMHTMLTableCellElement {
79 extern_methods!(
80 #[deprecated]
81 #[unsafe(method(cellIndex))]
82 #[unsafe(method_family = none)]
83 pub unsafe fn cellIndex(&self) -> c_int;
84
85 #[deprecated]
86 #[unsafe(method(align))]
87 #[unsafe(method_family = none)]
88 pub unsafe fn align(&self) -> Retained<NSString>;
89
90 #[deprecated]
92 #[unsafe(method(setAlign:))]
93 #[unsafe(method_family = none)]
94 pub unsafe fn setAlign(&self, align: Option<&NSString>);
95
96 #[deprecated]
97 #[unsafe(method(axis))]
98 #[unsafe(method_family = none)]
99 pub unsafe fn axis(&self) -> Retained<NSString>;
100
101 #[deprecated]
103 #[unsafe(method(setAxis:))]
104 #[unsafe(method_family = none)]
105 pub unsafe fn setAxis(&self, axis: Option<&NSString>);
106
107 #[deprecated]
108 #[unsafe(method(bgColor))]
109 #[unsafe(method_family = none)]
110 pub unsafe fn bgColor(&self) -> Retained<NSString>;
111
112 #[deprecated]
114 #[unsafe(method(setBgColor:))]
115 #[unsafe(method_family = none)]
116 pub unsafe fn setBgColor(&self, bg_color: Option<&NSString>);
117
118 #[deprecated]
119 #[unsafe(method(ch))]
120 #[unsafe(method_family = none)]
121 pub unsafe fn ch(&self) -> Retained<NSString>;
122
123 #[deprecated]
125 #[unsafe(method(setCh:))]
126 #[unsafe(method_family = none)]
127 pub unsafe fn setCh(&self, ch: Option<&NSString>);
128
129 #[deprecated]
130 #[unsafe(method(chOff))]
131 #[unsafe(method_family = none)]
132 pub unsafe fn chOff(&self) -> Retained<NSString>;
133
134 #[deprecated]
136 #[unsafe(method(setChOff:))]
137 #[unsafe(method_family = none)]
138 pub unsafe fn setChOff(&self, ch_off: Option<&NSString>);
139
140 #[deprecated]
141 #[unsafe(method(colSpan))]
142 #[unsafe(method_family = none)]
143 pub unsafe fn colSpan(&self) -> c_int;
144
145 #[deprecated]
147 #[unsafe(method(setColSpan:))]
148 #[unsafe(method_family = none)]
149 pub unsafe fn setColSpan(&self, col_span: c_int);
150
151 #[deprecated]
152 #[unsafe(method(rowSpan))]
153 #[unsafe(method_family = none)]
154 pub unsafe fn rowSpan(&self) -> c_int;
155
156 #[deprecated]
158 #[unsafe(method(setRowSpan:))]
159 #[unsafe(method_family = none)]
160 pub unsafe fn setRowSpan(&self, row_span: c_int);
161
162 #[deprecated]
163 #[unsafe(method(headers))]
164 #[unsafe(method_family = none)]
165 pub unsafe fn headers(&self) -> Retained<NSString>;
166
167 #[deprecated]
169 #[unsafe(method(setHeaders:))]
170 #[unsafe(method_family = none)]
171 pub unsafe fn setHeaders(&self, headers: Option<&NSString>);
172
173 #[deprecated]
174 #[unsafe(method(height))]
175 #[unsafe(method_family = none)]
176 pub unsafe fn height(&self) -> Retained<NSString>;
177
178 #[deprecated]
180 #[unsafe(method(setHeight:))]
181 #[unsafe(method_family = none)]
182 pub unsafe fn setHeight(&self, height: Option<&NSString>);
183
184 #[deprecated]
185 #[unsafe(method(noWrap))]
186 #[unsafe(method_family = none)]
187 pub unsafe fn noWrap(&self) -> bool;
188
189 #[deprecated]
191 #[unsafe(method(setNoWrap:))]
192 #[unsafe(method_family = none)]
193 pub unsafe fn setNoWrap(&self, no_wrap: bool);
194
195 #[deprecated]
196 #[unsafe(method(vAlign))]
197 #[unsafe(method_family = none)]
198 pub unsafe fn vAlign(&self) -> Retained<NSString>;
199
200 #[deprecated]
202 #[unsafe(method(setVAlign:))]
203 #[unsafe(method_family = none)]
204 pub unsafe fn setVAlign(&self, v_align: Option<&NSString>);
205
206 #[deprecated]
207 #[unsafe(method(width))]
208 #[unsafe(method_family = none)]
209 pub unsafe fn width(&self) -> Retained<NSString>;
210
211 #[deprecated]
213 #[unsafe(method(setWidth:))]
214 #[unsafe(method_family = none)]
215 pub unsafe fn setWidth(&self, width: Option<&NSString>);
216
217 #[deprecated]
218 #[unsafe(method(abbr))]
219 #[unsafe(method_family = none)]
220 pub unsafe fn abbr(&self) -> Retained<NSString>;
221
222 #[deprecated]
224 #[unsafe(method(setAbbr:))]
225 #[unsafe(method_family = none)]
226 pub unsafe fn setAbbr(&self, abbr: Option<&NSString>);
227
228 #[deprecated]
229 #[unsafe(method(scope))]
230 #[unsafe(method_family = none)]
231 pub unsafe fn scope(&self) -> Retained<NSString>;
232
233 #[deprecated]
235 #[unsafe(method(setScope:))]
236 #[unsafe(method_family = none)]
237 pub unsafe fn setScope(&self, scope: Option<&NSString>);
238 );
239}
240
241#[cfg(all(
243 feature = "DOMElement",
244 feature = "DOMHTMLElement",
245 feature = "DOMNode",
246 feature = "DOMObject",
247 feature = "WebScriptObject"
248))]
249impl DOMHTMLTableCellElement {
250 extern_methods!(
251 #[deprecated]
252 #[unsafe(method(init))]
253 #[unsafe(method_family = init)]
254 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
255 );
256}
257
258#[cfg(all(
260 feature = "DOMElement",
261 feature = "DOMHTMLElement",
262 feature = "DOMNode",
263 feature = "DOMObject",
264 feature = "WebScriptObject"
265))]
266impl DOMHTMLTableCellElement {
267 extern_methods!(
268 #[unsafe(method(new))]
269 #[unsafe(method_family = new)]
270 pub unsafe fn new() -> Retained<Self>;
271 );
272}