icrate/generated/WebKit/
DOMHTMLOListElement.rs1use crate::common::*;
4use crate::AppKit::*;
5use crate::Foundation::*;
6use crate::WebKit::*;
7
8extern_class!(
9 #[derive(Debug, PartialEq, Eq, Hash)]
10 #[cfg(feature = "WebKit_DOMHTMLOListElement")]
11 #[deprecated]
12 pub struct DOMHTMLOListElement;
13
14 #[cfg(feature = "WebKit_DOMHTMLOListElement")]
15 unsafe impl ClassType for DOMHTMLOListElement {
16 #[inherits(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject)]
17 type Super = DOMHTMLElement;
18 type Mutability = InteriorMutable;
19 }
20);
21
22#[cfg(feature = "WebKit_DOMHTMLOListElement")]
23unsafe impl DOMEventTarget for DOMHTMLOListElement {}
24
25#[cfg(feature = "WebKit_DOMHTMLOListElement")]
26unsafe impl NSCopying for DOMHTMLOListElement {}
27
28#[cfg(feature = "WebKit_DOMHTMLOListElement")]
29unsafe impl NSObjectProtocol for DOMHTMLOListElement {}
30
31extern_methods!(
32 #[cfg(feature = "WebKit_DOMHTMLOListElement")]
33 unsafe impl DOMHTMLOListElement {
34 #[deprecated]
35 #[method(compact)]
36 pub unsafe fn compact(&self) -> bool;
37
38 #[deprecated]
39 #[method(setCompact:)]
40 pub unsafe fn setCompact(&self, compact: bool);
41
42 #[deprecated]
43 #[method(start)]
44 pub unsafe fn start(&self) -> c_int;
45
46 #[deprecated]
47 #[method(setStart:)]
48 pub unsafe fn setStart(&self, start: c_int);
49
50 #[cfg(feature = "Foundation_NSString")]
51 #[deprecated]
52 #[method_id(@__retain_semantics Other type)]
53 pub unsafe fn r#type(&self) -> Id<NSString>;
54
55 #[cfg(feature = "Foundation_NSString")]
56 #[deprecated]
57 #[method(setType:)]
58 pub unsafe fn setType(&self, r#type: Option<&NSString>);
59 }
60);
61
62extern_methods!(
63 #[cfg(feature = "WebKit_DOMHTMLOListElement")]
65 unsafe impl DOMHTMLOListElement {
66 #[deprecated]
67 #[method_id(@__retain_semantics Init init)]
68 pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
69 }
70);
71
72extern_methods!(
73 #[cfg(feature = "WebKit_DOMHTMLOListElement")]
75 unsafe impl DOMHTMLOListElement {
76 #[method_id(@__retain_semantics New new)]
77 pub unsafe fn new() -> Id<Self>;
78 }
79);