use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INWorkoutGoalUnitType(pub NSInteger);
impl INWorkoutGoalUnitType {
#[doc(alias = "INWorkoutGoalUnitTypeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INWorkoutGoalUnitTypeInch")]
pub const Inch: Self = Self(1);
#[doc(alias = "INWorkoutGoalUnitTypeMeter")]
pub const Meter: Self = Self(2);
#[doc(alias = "INWorkoutGoalUnitTypeFoot")]
pub const Foot: Self = Self(3);
#[doc(alias = "INWorkoutGoalUnitTypeMile")]
pub const Mile: Self = Self(4);
#[doc(alias = "INWorkoutGoalUnitTypeYard")]
pub const Yard: Self = Self(5);
#[doc(alias = "INWorkoutGoalUnitTypeSecond")]
pub const Second: Self = Self(6);
#[doc(alias = "INWorkoutGoalUnitTypeMinute")]
pub const Minute: Self = Self(7);
#[doc(alias = "INWorkoutGoalUnitTypeHour")]
pub const Hour: Self = Self(8);
#[doc(alias = "INWorkoutGoalUnitTypeJoule")]
pub const Joule: Self = Self(9);
#[doc(alias = "INWorkoutGoalUnitTypeKiloCalorie")]
pub const KiloCalorie: Self = Self(10);
}
unsafe impl Encode for INWorkoutGoalUnitType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INWorkoutGoalUnitType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}