objc2_intents/generated/
INSeat.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 pub struct INSeat;
14);
15
16extern_conformance!(
17 unsafe impl NSCoding for INSeat {}
18);
19
20extern_conformance!(
21 unsafe impl NSCopying for INSeat {}
22);
23
24unsafe impl CopyingHelper for INSeat {
25 type Result = Self;
26}
27
28extern_conformance!(
29 unsafe impl NSObjectProtocol for INSeat {}
30);
31
32extern_conformance!(
33 unsafe impl NSSecureCoding for INSeat {}
34);
35
36impl INSeat {
37 extern_methods!(
38 #[unsafe(method(init))]
39 #[unsafe(method_family = init)]
40 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
41
42 #[unsafe(method(initWithSeatSection:seatRow:seatNumber:seatingType:))]
43 #[unsafe(method_family = init)]
44 pub unsafe fn initWithSeatSection_seatRow_seatNumber_seatingType(
45 this: Allocated<Self>,
46 seat_section: Option<&NSString>,
47 seat_row: Option<&NSString>,
48 seat_number: Option<&NSString>,
49 seating_type: Option<&NSString>,
50 ) -> Retained<Self>;
51
52 #[unsafe(method(seatSection))]
53 #[unsafe(method_family = none)]
54 pub unsafe fn seatSection(&self) -> Option<Retained<NSString>>;
55
56 #[unsafe(method(seatRow))]
57 #[unsafe(method_family = none)]
58 pub unsafe fn seatRow(&self) -> Option<Retained<NSString>>;
59
60 #[unsafe(method(seatNumber))]
61 #[unsafe(method_family = none)]
62 pub unsafe fn seatNumber(&self) -> Option<Retained<NSString>>;
63
64 #[unsafe(method(seatingType))]
65 #[unsafe(method_family = none)]
66 pub unsafe fn seatingType(&self) -> Option<Retained<NSString>>;
67 );
68}
69
70impl INSeat {
72 extern_methods!(
73 #[unsafe(method(new))]
74 #[unsafe(method_family = new)]
75 pub unsafe fn new() -> Retained<Self>;
76 );
77}