use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INRidePhase(pub NSInteger);
impl INRidePhase {
#[doc(alias = "INRidePhaseUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INRidePhaseReceived")]
pub const Received: Self = Self(1);
#[doc(alias = "INRidePhaseConfirmed")]
pub const Confirmed: Self = Self(2);
#[doc(alias = "INRidePhaseOngoing")]
pub const Ongoing: Self = Self(3);
#[doc(alias = "INRidePhaseCompleted")]
pub const Completed: Self = Self(4);
#[doc(alias = "INRidePhaseApproachingPickup")]
pub const ApproachingPickup: Self = Self(5);
#[doc(alias = "INRidePhasePickup")]
pub const Pickup: Self = Self(6);
}
unsafe impl Encode for INRidePhase {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INRidePhase {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}