objc2_intents/generated/
INCarSeatResolutionResult.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(INIntentResolutionResult, NSObject))]
11 #[derive(Debug, PartialEq, Eq, Hash)]
12 #[cfg(feature = "INIntentResolutionResult")]
13 #[deprecated = "INCarSeatResolutionResult is deprecated. There is no replacement."]
14 pub struct INCarSeatResolutionResult;
15);
16
17#[cfg(feature = "INIntentResolutionResult")]
18extern_conformance!(
19 unsafe impl NSObjectProtocol for INCarSeatResolutionResult {}
20);
21
22#[cfg(feature = "INIntentResolutionResult")]
23impl INCarSeatResolutionResult {
24 extern_methods!(
25 #[cfg(feature = "INCarSeat")]
26 #[deprecated = "INCarSeatResolutionResult is deprecated. There is no replacement."]
27 #[unsafe(method(successWithResolvedCarSeat:))]
28 #[unsafe(method_family = none)]
29 pub unsafe fn successWithResolvedCarSeat(resolved_car_seat: INCarSeat) -> Retained<Self>;
30
31 #[cfg(feature = "INCarSeat")]
32 #[deprecated]
33 #[unsafe(method(successWithResolvedValue:))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn successWithResolvedValue(resolved_value: INCarSeat) -> Retained<Self>;
36
37 #[cfg(feature = "INCarSeat")]
38 #[deprecated = "INCarSeatResolutionResult is deprecated. There is no replacement."]
39 #[unsafe(method(confirmationRequiredWithCarSeatToConfirm:))]
40 #[unsafe(method_family = none)]
41 pub unsafe fn confirmationRequiredWithCarSeatToConfirm(
42 car_seat_to_confirm: INCarSeat,
43 ) -> Retained<Self>;
44
45 #[cfg(feature = "INCarSeat")]
46 #[deprecated]
47 #[unsafe(method(confirmationRequiredWithValueToConfirm:))]
48 #[unsafe(method_family = none)]
49 pub unsafe fn confirmationRequiredWithValueToConfirm(
50 value_to_confirm: INCarSeat,
51 ) -> Retained<Self>;
52 );
53}
54
55#[cfg(feature = "INIntentResolutionResult")]
57impl INCarSeatResolutionResult {
58 extern_methods!(
59 #[unsafe(method(init))]
60 #[unsafe(method_family = init)]
61 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
62
63 #[unsafe(method(needsValue))]
64 #[unsafe(method_family = none)]
65 pub unsafe fn needsValue() -> Retained<Self>;
66
67 #[unsafe(method(notRequired))]
68 #[unsafe(method_family = none)]
69 pub unsafe fn notRequired() -> Retained<Self>;
70
71 #[unsafe(method(unsupported))]
72 #[unsafe(method_family = none)]
73 pub unsafe fn unsupported() -> Retained<Self>;
74 );
75}
76
77#[cfg(feature = "INIntentResolutionResult")]
79impl INCarSeatResolutionResult {
80 extern_methods!(
81 #[unsafe(method(new))]
82 #[unsafe(method_family = new)]
83 pub unsafe fn new() -> Retained<Self>;
84 );
85}