objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/intents/inrelativereference?language=objc)
// NS_ENUM
#[deprecated = "INRelativeReference is deprecated. There is no replacement."]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INRelativeReference(pub NSInteger);
impl INRelativeReference {
    #[doc(alias = "INRelativeReferenceUnknown")]
    #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
    pub const Unknown: Self = Self(0);
    #[doc(alias = "INRelativeReferenceNext")]
    #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
    pub const Next: Self = Self(1);
    #[doc(alias = "INRelativeReferencePrevious")]
    #[deprecated = "INRelativeReference is deprecated. There is no replacement."]
    pub const Previous: Self = Self(2);
}

unsafe impl Encode for INRelativeReference {
    const ENCODING: Encoding = NSInteger::ENCODING;
}

unsafe impl RefEncode for INRelativeReference {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}