objc2_intents/generated/
INLocationSearchType.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[repr(transparent)]
10#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
11pub struct INLocationSearchType(pub NSInteger);
12impl INLocationSearchType {
13 #[doc(alias = "INLocationSearchTypeUnknown")]
14 pub const Unknown: Self = Self(0);
15 #[doc(alias = "INLocationSearchTypeByLocationTrigger")]
16 pub const ByLocationTrigger: Self = Self(1);
17}
18
19unsafe impl Encode for INLocationSearchType {
20 const ENCODING: Encoding = NSInteger::ENCODING;
21}
22
23unsafe impl RefEncode for INLocationSearchType {
24 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
25}