objc2_intents/generated/
INIntentResolutionResult.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(NSObject))]
11 #[derive(Debug, PartialEq, Eq, Hash)]
12 pub struct INIntentResolutionResult;
13);
14
15extern_conformance!(
16 unsafe impl NSObjectProtocol for INIntentResolutionResult {}
17);
18
19impl INIntentResolutionResult {
20 extern_methods!(
21 #[unsafe(method(init))]
22 #[unsafe(method_family = init)]
23 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
24
25 #[unsafe(method(needsValue))]
26 #[unsafe(method_family = none)]
27 pub unsafe fn needsValue() -> Retained<Self>;
28
29 #[unsafe(method(notRequired))]
30 #[unsafe(method_family = none)]
31 pub unsafe fn notRequired() -> Retained<Self>;
32
33 #[unsafe(method(unsupported))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn unsupported() -> Retained<Self>;
36 );
37}
38
39impl INIntentResolutionResult {
41 extern_methods!(
42 #[unsafe(method(new))]
43 #[unsafe(method_family = new)]
44 pub unsafe fn new() -> Retained<Self>;
45 );
46}