objc2_intents/generated/
INNoteContentType.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/innotecontenttype?language=objc)
8// NS_ENUM
9#[deprecated = "This enum is no longer used"]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INNoteContentType(pub NSInteger);
13impl INNoteContentType {
14    #[doc(alias = "INNoteContentTypeUnknown")]
15    #[deprecated = "This enum is no longer used"]
16    pub const Unknown: Self = Self(0);
17    #[doc(alias = "INNoteContentTypeText")]
18    #[deprecated = "This enum is no longer used"]
19    pub const Text: Self = Self(1);
20    #[doc(alias = "INNoteContentTypeImage")]
21    #[deprecated = "This enum is no longer used"]
22    pub const Image: Self = Self(2);
23}
24
25unsafe impl Encode for INNoteContentType {
26    const ENCODING: Encoding = NSInteger::ENCODING;
27}
28
29unsafe impl RefEncode for INNoteContentType {
30    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
31}