objc2_intents/generated/
INTicketedEventCategory.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4
5use crate::*;
6
7/// [Apple's documentation](https://developer.apple.com/documentation/intents/inticketedeventcategory?language=objc)
8// NS_ENUM
9#[repr(transparent)]
10#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
11pub struct INTicketedEventCategory(pub NSInteger);
12impl INTicketedEventCategory {
13    #[doc(alias = "INTicketedEventCategoryUnknown")]
14    pub const Unknown: Self = Self(0);
15    #[doc(alias = "INTicketedEventCategoryMovie")]
16    pub const Movie: Self = Self(1);
17}
18
19unsafe impl Encode for INTicketedEventCategory {
20    const ENCODING: Encoding = NSInteger::ENCODING;
21}
22
23unsafe impl RefEncode for INTicketedEventCategory {
24    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
25}