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