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 #[deprecated = "Creating and using multiple instances of WKProcessPool no longer has any effect."]
21 pub struct WKProcessPool;
22);
23
24extern_conformance!(
25 unsafe impl NSCoding for WKProcessPool {}
26);
27
28extern_conformance!(
29 unsafe impl NSObjectProtocol for WKProcessPool {}
30);
31
32extern_conformance!(
33 unsafe impl NSSecureCoding for WKProcessPool {}
34);
35
36impl WKProcessPool {
37 extern_methods!();
38}
39
40impl WKProcessPool {
42 extern_methods!(
43 #[unsafe(method(init))]
44 #[unsafe(method_family = init)]
45 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
46
47 #[unsafe(method(new))]
48 #[unsafe(method_family = new)]
49 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
50 );
51}