objc2_intents/generated/
INRideDriver_Deprecated.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9/// Deprecated.
10#[cfg(all(feature = "INPerson", feature = "INRideDriver"))]
11impl INRideDriver {
12    extern_methods!(
13        #[cfg(all(feature = "INImage", feature = "INPersonHandle"))]
14        #[deprecated = "Use the designated initializer instead"]
15        #[unsafe(method(initWithPersonHandle:nameComponents:displayName:image:rating:phoneNumber:))]
16        #[unsafe(method_family = init)]
17        pub unsafe fn initWithPersonHandle_nameComponents_displayName_image_rating_phoneNumber(
18            this: Allocated<Self>,
19            person_handle: &INPersonHandle,
20            name_components: Option<&NSPersonNameComponents>,
21            display_name: Option<&NSString>,
22            image: Option<&INImage>,
23            rating: Option<&NSString>,
24            phone_number: Option<&NSString>,
25        ) -> Retained<Self>;
26
27        #[cfg(feature = "INImage")]
28        #[deprecated = "Use the designated initializer instead"]
29        #[unsafe(method(initWithHandle:displayName:image:rating:phoneNumber:))]
30        #[unsafe(method_family = init)]
31        pub unsafe fn initWithHandle_displayName_image_rating_phoneNumber(
32            this: Allocated<Self>,
33            handle: &NSString,
34            display_name: Option<&NSString>,
35            image: Option<&INImage>,
36            rating: Option<&NSString>,
37            phone_number: Option<&NSString>,
38        ) -> Retained<Self>;
39
40        #[cfg(feature = "INImage")]
41        #[deprecated = "Use the designated initializer instead"]
42        #[unsafe(method(initWithHandle:nameComponents:image:rating:phoneNumber:))]
43        #[unsafe(method_family = init)]
44        pub unsafe fn initWithHandle_nameComponents_image_rating_phoneNumber(
45            this: Allocated<Self>,
46            handle: &NSString,
47            name_components: &NSPersonNameComponents,
48            image: Option<&INImage>,
49            rating: Option<&NSString>,
50            phone_number: Option<&NSString>,
51        ) -> Retained<Self>;
52    );
53}