objc2_intents/generated/
INPhotoAttributeOptions.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/inphotoattributeoptions?language=objc)
8// NS_OPTIONS
9#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INPhotoAttributeOptions(pub NSUInteger);
13bitflags::bitflags! {
14    impl INPhotoAttributeOptions: NSUInteger {
15        #[doc(alias = "INPhotoAttributeOptionPhoto")]
16#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
17        const Photo = 1<<0;
18        #[doc(alias = "INPhotoAttributeOptionVideo")]
19#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
20        const Video = 1<<1;
21        #[doc(alias = "INPhotoAttributeOptionGIF")]
22#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
23        const GIF = 1<<2;
24        #[doc(alias = "INPhotoAttributeOptionFlash")]
25#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
26        const Flash = 1<<3;
27        #[doc(alias = "INPhotoAttributeOptionLandscapeOrientation")]
28#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
29        const LandscapeOrientation = 1<<4;
30        #[doc(alias = "INPhotoAttributeOptionPortraitOrientation")]
31#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
32        const PortraitOrientation = 1<<5;
33        #[doc(alias = "INPhotoAttributeOptionFavorite")]
34#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
35        const Favorite = 1<<6;
36        #[doc(alias = "INPhotoAttributeOptionSelfie")]
37#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
38        const Selfie = 1<<7;
39        #[doc(alias = "INPhotoAttributeOptionFrontFacingCamera")]
40#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
41        const FrontFacingCamera = 1<<8;
42        #[doc(alias = "INPhotoAttributeOptionScreenshot")]
43#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
44        const Screenshot = 1<<9;
45        #[doc(alias = "INPhotoAttributeOptionBurstPhoto")]
46#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
47        const BurstPhoto = 1<<10;
48        #[doc(alias = "INPhotoAttributeOptionHDRPhoto")]
49#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
50        const HDRPhoto = 1<<11;
51        #[doc(alias = "INPhotoAttributeOptionSquarePhoto")]
52#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
53        const SquarePhoto = 1<<12;
54        #[doc(alias = "INPhotoAttributeOptionPanoramaPhoto")]
55#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
56        const PanoramaPhoto = 1<<13;
57        #[doc(alias = "INPhotoAttributeOptionTimeLapseVideo")]
58#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
59        const TimeLapseVideo = 1<<14;
60        #[doc(alias = "INPhotoAttributeOptionSlowMotionVideo")]
61#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
62        const SlowMotionVideo = 1<<15;
63        #[doc(alias = "INPhotoAttributeOptionNoirFilter")]
64#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
65        const NoirFilter = 1<<16;
66        #[doc(alias = "INPhotoAttributeOptionChromeFilter")]
67#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
68        const ChromeFilter = 1<<17;
69        #[doc(alias = "INPhotoAttributeOptionInstantFilter")]
70#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
71        const InstantFilter = 1<<18;
72        #[doc(alias = "INPhotoAttributeOptionTonalFilter")]
73#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
74        const TonalFilter = 1<<19;
75        #[doc(alias = "INPhotoAttributeOptionTransferFilter")]
76#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
77        const TransferFilter = 1<<20;
78        #[doc(alias = "INPhotoAttributeOptionMonoFilter")]
79#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
80        const MonoFilter = 1<<21;
81        #[doc(alias = "INPhotoAttributeOptionFadeFilter")]
82#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
83        const FadeFilter = 1<<22;
84        #[doc(alias = "INPhotoAttributeOptionProcessFilter")]
85#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
86        const ProcessFilter = 1<<23;
87        #[doc(alias = "INPhotoAttributeOptionPortraitPhoto")]
88        const PortraitPhoto = 1<<24;
89        #[doc(alias = "INPhotoAttributeOptionLivePhoto")]
90        const LivePhoto = 1<<25;
91        #[doc(alias = "INPhotoAttributeOptionLoopPhoto")]
92        const LoopPhoto = 1<<26;
93        #[doc(alias = "INPhotoAttributeOptionBouncePhoto")]
94        const BouncePhoto = 1<<27;
95        #[doc(alias = "INPhotoAttributeOptionLongExposurePhoto")]
96        const LongExposurePhoto = 1<<28;
97    }
98}
99
100unsafe impl Encode for INPhotoAttributeOptions {
101    const ENCODING: Encoding = NSUInteger::ENCODING;
102}
103
104unsafe impl RefEncode for INPhotoAttributeOptions {
105    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
106}