objc2_web_kit/generated/
WKContentRuleList.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[thread_kind = MainThreadOnly]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct WKContentRuleList;
15);
16
17unsafe impl NSObjectProtocol for WKContentRuleList {}
18
19impl WKContentRuleList {
20 extern_methods!(
21 #[unsafe(method(identifier))]
23 #[unsafe(method_family = none)]
24 pub unsafe fn identifier(&self) -> Retained<NSString>;
25 );
26}
27
28impl WKContentRuleList {
30 extern_methods!(
31 #[unsafe(method(init))]
32 #[unsafe(method_family = init)]
33 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
34
35 #[unsafe(method(new))]
36 #[unsafe(method_family = new)]
37 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
38 );
39}