use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
#[cfg(all(feature = "INPerson", feature = "INRideDriver"))]
impl INRideDriver {
extern_methods!(
#[cfg(all(feature = "INImage", feature = "INPersonHandle"))]
#[deprecated = "Use the designated initializer instead"]
#[unsafe(method(initWithPersonHandle:nameComponents:displayName:image:rating:phoneNumber:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithPersonHandle_nameComponents_displayName_image_rating_phoneNumber(
this: Allocated<Self>,
person_handle: &INPersonHandle,
name_components: Option<&NSPersonNameComponents>,
display_name: Option<&NSString>,
image: Option<&INImage>,
rating: Option<&NSString>,
phone_number: Option<&NSString>,
) -> Retained<Self>;
#[cfg(feature = "INImage")]
#[deprecated = "Use the designated initializer instead"]
#[unsafe(method(initWithHandle:displayName:image:rating:phoneNumber:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithHandle_displayName_image_rating_phoneNumber(
this: Allocated<Self>,
handle: &NSString,
display_name: Option<&NSString>,
image: Option<&INImage>,
rating: Option<&NSString>,
phone_number: Option<&NSString>,
) -> Retained<Self>;
#[cfg(feature = "INImage")]
#[deprecated = "Use the designated initializer instead"]
#[unsafe(method(initWithHandle:nameComponents:image:rating:phoneNumber:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithHandle_nameComponents_image_rating_phoneNumber(
this: Allocated<Self>,
handle: &NSString,
name_components: &NSPersonNameComponents,
image: Option<&INImage>,
rating: Option<&NSString>,
phone_number: Option<&NSString>,
) -> Retained<Self>;
);
}