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/inphotoattributeoptions?language=objc)
// NS_OPTIONS
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INPhotoAttributeOptions(pub NSUInteger);
bitflags::bitflags! {
    impl INPhotoAttributeOptions: NSUInteger {
        #[doc(alias = "INPhotoAttributeOptionPhoto")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Photo = 1<<0;
        #[doc(alias = "INPhotoAttributeOptionVideo")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Video = 1<<1;
        #[doc(alias = "INPhotoAttributeOptionGIF")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const GIF = 1<<2;
        #[doc(alias = "INPhotoAttributeOptionFlash")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Flash = 1<<3;
        #[doc(alias = "INPhotoAttributeOptionLandscapeOrientation")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const LandscapeOrientation = 1<<4;
        #[doc(alias = "INPhotoAttributeOptionPortraitOrientation")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const PortraitOrientation = 1<<5;
        #[doc(alias = "INPhotoAttributeOptionFavorite")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Favorite = 1<<6;
        #[doc(alias = "INPhotoAttributeOptionSelfie")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Selfie = 1<<7;
        #[doc(alias = "INPhotoAttributeOptionFrontFacingCamera")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const FrontFacingCamera = 1<<8;
        #[doc(alias = "INPhotoAttributeOptionScreenshot")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const Screenshot = 1<<9;
        #[doc(alias = "INPhotoAttributeOptionBurstPhoto")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const BurstPhoto = 1<<10;
        #[doc(alias = "INPhotoAttributeOptionHDRPhoto")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const HDRPhoto = 1<<11;
        #[doc(alias = "INPhotoAttributeOptionSquarePhoto")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const SquarePhoto = 1<<12;
        #[doc(alias = "INPhotoAttributeOptionPanoramaPhoto")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const PanoramaPhoto = 1<<13;
        #[doc(alias = "INPhotoAttributeOptionTimeLapseVideo")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const TimeLapseVideo = 1<<14;
        #[doc(alias = "INPhotoAttributeOptionSlowMotionVideo")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const SlowMotionVideo = 1<<15;
        #[doc(alias = "INPhotoAttributeOptionNoirFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const NoirFilter = 1<<16;
        #[doc(alias = "INPhotoAttributeOptionChromeFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const ChromeFilter = 1<<17;
        #[doc(alias = "INPhotoAttributeOptionInstantFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const InstantFilter = 1<<18;
        #[doc(alias = "INPhotoAttributeOptionTonalFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const TonalFilter = 1<<19;
        #[doc(alias = "INPhotoAttributeOptionTransferFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const TransferFilter = 1<<20;
        #[doc(alias = "INPhotoAttributeOptionMonoFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const MonoFilter = 1<<21;
        #[doc(alias = "INPhotoAttributeOptionFadeFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const FadeFilter = 1<<22;
        #[doc(alias = "INPhotoAttributeOptionProcessFilter")]
#[deprecated = "INPhotoAttributeOptions is deprecated. There is no replacement."]
        const ProcessFilter = 1<<23;
        #[doc(alias = "INPhotoAttributeOptionPortraitPhoto")]
        const PortraitPhoto = 1<<24;
        #[doc(alias = "INPhotoAttributeOptionLivePhoto")]
        const LivePhoto = 1<<25;
        #[doc(alias = "INPhotoAttributeOptionLoopPhoto")]
        const LoopPhoto = 1<<26;
        #[doc(alias = "INPhotoAttributeOptionBouncePhoto")]
        const BouncePhoto = 1<<27;
        #[doc(alias = "INPhotoAttributeOptionLongExposurePhoto")]
        const LongExposurePhoto = 1<<28;
    }
}

unsafe impl Encode for INPhotoAttributeOptions {
    const ENCODING: Encoding = NSUInteger::ENCODING;
}

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