objc2_web_kit/generated/
WKFindConfiguration.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(NSObject))]
13 #[thread_kind = MainThreadOnly]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct WKFindConfiguration;
16);
17
18unsafe impl NSCopying for WKFindConfiguration {}
19
20unsafe impl CopyingHelper for WKFindConfiguration {
21 type Result = Self;
22}
23
24unsafe impl NSObjectProtocol for WKFindConfiguration {}
25
26impl WKFindConfiguration {
27 extern_methods!(
28 #[unsafe(method(backwards))]
29 #[unsafe(method_family = none)]
30 pub unsafe fn backwards(&self) -> bool;
31
32 #[unsafe(method(setBackwards:))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn setBackwards(&self, backwards: bool);
36
37 #[unsafe(method(caseSensitive))]
38 #[unsafe(method_family = none)]
39 pub unsafe fn caseSensitive(&self) -> bool;
40
41 #[unsafe(method(setCaseSensitive:))]
43 #[unsafe(method_family = none)]
44 pub unsafe fn setCaseSensitive(&self, case_sensitive: bool);
45
46 #[unsafe(method(wraps))]
47 #[unsafe(method_family = none)]
48 pub unsafe fn wraps(&self) -> bool;
49
50 #[unsafe(method(setWraps:))]
52 #[unsafe(method_family = none)]
53 pub unsafe fn setWraps(&self, wraps: bool);
54 );
55}
56
57impl WKFindConfiguration {
59 extern_methods!(
60 #[unsafe(method(init))]
61 #[unsafe(method_family = init)]
62 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
63
64 #[unsafe(method(new))]
65 #[unsafe(method_family = new)]
66 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
67 );
68}