objc2_web_kit/generated/
DOMHTMLTableRowElement.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 DOMHTMLTableRowElement;
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 DOMHTMLTableRowElement {}
41
42#[cfg(all(
43 feature = "DOMElement",
44 feature = "DOMHTMLElement",
45 feature = "DOMNode",
46 feature = "DOMObject",
47 feature = "WebScriptObject"
48))]
49unsafe impl NSCopying for DOMHTMLTableRowElement {}
50
51#[cfg(all(
52 feature = "DOMElement",
53 feature = "DOMHTMLElement",
54 feature = "DOMNode",
55 feature = "DOMObject",
56 feature = "WebScriptObject"
57))]
58unsafe impl CopyingHelper for DOMHTMLTableRowElement {
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 DOMHTMLTableRowElement {}
70
71#[cfg(all(
72 feature = "DOMElement",
73 feature = "DOMHTMLElement",
74 feature = "DOMNode",
75 feature = "DOMObject",
76 feature = "WebScriptObject"
77))]
78impl DOMHTMLTableRowElement {
79 extern_methods!(
80 #[deprecated]
81 #[unsafe(method(rowIndex))]
82 #[unsafe(method_family = none)]
83 pub unsafe fn rowIndex(&self) -> c_int;
84
85 #[deprecated]
86 #[unsafe(method(sectionRowIndex))]
87 #[unsafe(method_family = none)]
88 pub unsafe fn sectionRowIndex(&self) -> c_int;
89
90 #[cfg(feature = "DOMHTMLCollection")]
91 #[deprecated]
92 #[unsafe(method(cells))]
93 #[unsafe(method_family = none)]
94 pub unsafe fn cells(&self) -> Option<Retained<DOMHTMLCollection>>;
95
96 #[deprecated]
97 #[unsafe(method(align))]
98 #[unsafe(method_family = none)]
99 pub unsafe fn align(&self) -> Retained<NSString>;
100
101 #[deprecated]
103 #[unsafe(method(setAlign:))]
104 #[unsafe(method_family = none)]
105 pub unsafe fn setAlign(&self, align: 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(vAlign))]
142 #[unsafe(method_family = none)]
143 pub unsafe fn vAlign(&self) -> Retained<NSString>;
144
145 #[deprecated]
147 #[unsafe(method(setVAlign:))]
148 #[unsafe(method_family = none)]
149 pub unsafe fn setVAlign(&self, v_align: Option<&NSString>);
150
151 #[deprecated]
152 #[unsafe(method(insertCell:))]
153 #[unsafe(method_family = none)]
154 pub unsafe fn insertCell(&self, index: c_int) -> Option<Retained<DOMHTMLElement>>;
155
156 #[deprecated]
157 #[unsafe(method(deleteCell:))]
158 #[unsafe(method_family = none)]
159 pub unsafe fn deleteCell(&self, index: c_int);
160 );
161}
162
163#[cfg(all(
165 feature = "DOMElement",
166 feature = "DOMHTMLElement",
167 feature = "DOMNode",
168 feature = "DOMObject",
169 feature = "WebScriptObject"
170))]
171impl DOMHTMLTableRowElement {
172 extern_methods!(
173 #[deprecated]
174 #[unsafe(method(init))]
175 #[unsafe(method_family = init)]
176 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
177 );
178}
179
180#[cfg(all(
182 feature = "DOMElement",
183 feature = "DOMHTMLElement",
184 feature = "DOMNode",
185 feature = "DOMObject",
186 feature = "WebScriptObject"
187))]
188impl DOMHTMLTableRowElement {
189 extern_methods!(
190 #[unsafe(method(new))]
191 #[unsafe(method_family = new)]
192 pub unsafe fn new() -> Retained<Self>;
193 );
194}