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/intemporaleventtriggertypeoptions?language=objc)
// NS_OPTIONS
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INTemporalEventTriggerTypeOptions(pub NSUInteger);
bitflags::bitflags! {
    impl INTemporalEventTriggerTypeOptions: NSUInteger {
        #[doc(alias = "INTemporalEventTriggerTypeOptionNotScheduled")]
        const NotScheduled = 1<<0;
        #[doc(alias = "INTemporalEventTriggerTypeOptionScheduledNonRecurring")]
        const ScheduledNonRecurring = 1<<1;
        #[doc(alias = "INTemporalEventTriggerTypeOptionScheduledRecurring")]
        const ScheduledRecurring = 1<<2;
    }
}

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

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