objc2_intents/generated/
INRelativeReference.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[deprecated = "INRelativeReference is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INRelativeReference(pub NSInteger);
13impl INRelativeReference {
14 #[doc(alias = "INRelativeReferenceUnknown")]
15 #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
16 pub const Unknown: Self = Self(0);
17 #[doc(alias = "INRelativeReferenceNext")]
18 #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
19 pub const Next: Self = Self(1);
20 #[doc(alias = "INRelativeReferencePrevious")]
21 #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
22 pub const Previous: Self = Self(2);
23}
24
25unsafe impl Encode for INRelativeReference {
26 const ENCODING: Encoding = NSInteger::ENCODING;
27}
28
29unsafe impl RefEncode for INRelativeReference {
30 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
31}