objc2_pencil_kit/generated/
PKContentVersion.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[repr(transparent)]
12#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
13pub struct PKContentVersion(pub NSInteger);
14impl PKContentVersion {
15 #[doc(alias = "PKContentVersion1")]
19 pub const Version1: Self = Self(1);
20 #[doc(alias = "PKContentVersion2")]
24 pub const Version2: Self = Self(2);
25 #[doc(alias = "PKContentVersion3")]
27 pub const Version3: Self = Self(3);
28 #[doc(alias = "PKContentVersion4")]
30 pub const Version4: Self = Self(4);
31 #[doc(alias = "PKContentVersionLatest")]
33 pub const VersionLatest: Self = Self(4);
34}
35
36unsafe impl Encode for PKContentVersion {
37 const ENCODING: Encoding = NSInteger::ENCODING;
38}
39
40unsafe impl RefEncode for PKContentVersion {
41 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
42}