objc2_web_kit/generated/
WKProcessPool.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
18 #[thread_kind = MainThreadOnly]
19 #[derive(Debug, PartialEq, Eq, Hash)]
20 pub struct WKProcessPool;
21);
22
23extern_conformance!(
24 unsafe impl NSCoding for WKProcessPool {}
25);
26
27extern_conformance!(
28 unsafe impl NSObjectProtocol for WKProcessPool {}
29);
30
31extern_conformance!(
32 unsafe impl NSSecureCoding for WKProcessPool {}
33);
34
35impl WKProcessPool {
36 extern_methods!();
37}
38
39impl WKProcessPool {
41 extern_methods!(
42 #[unsafe(method(init))]
43 #[unsafe(method_family = init)]
44 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
45
46 #[unsafe(method(new))]
47 #[unsafe(method_family = new)]
48 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
49 );
50}