use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INSpatialEvent(pub NSInteger);
impl INSpatialEvent {
#[doc(alias = "INSpatialEventUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INSpatialEventArrive")]
pub const Arrive: Self = Self(1);
#[doc(alias = "INSpatialEventDepart")]
pub const Depart: Self = Self(2);
}
unsafe impl Encode for INSpatialEvent {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INSpatialEvent {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}