objc2-ui-kit 0.3.2

Bindings to the UIKit 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/uikit/uitextiteminteraction?language=objc)
// NS_ENUM
#[deprecated = "UITextItemInteraction has been replaced by text item methods on UITextViewDelegate"]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextItemInteraction(pub NSInteger);
impl UITextItemInteraction {
    #[doc(alias = "UITextItemInteractionInvokeDefaultAction")]
    #[deprecated = "UITextItemInteraction has been replaced by text item methods on UITextViewDelegate"]
    pub const InvokeDefaultAction: Self = Self(0);
    #[doc(alias = "UITextItemInteractionPresentActions")]
    #[deprecated = "UITextItemInteraction has been replaced by text item methods on UITextViewDelegate"]
    pub const PresentActions: Self = Self(1);
    #[doc(alias = "UITextItemInteractionPreview")]
    #[deprecated = "UITextItemInteraction has been replaced by text item methods on UITextViewDelegate"]
    pub const Preview: Self = Self(2);
}

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

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