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/inrecurrencefrequency?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INRecurrenceFrequency(pub NSInteger);
impl INRecurrenceFrequency {
    #[doc(alias = "INRecurrenceFrequencyUnknown")]
    pub const Unknown: Self = Self(0);
    #[doc(alias = "INRecurrenceFrequencyMinute")]
    pub const Minute: Self = Self(1);
    #[doc(alias = "INRecurrenceFrequencyHourly")]
    pub const Hourly: Self = Self(2);
    #[doc(alias = "INRecurrenceFrequencyDaily")]
    pub const Daily: Self = Self(3);
    #[doc(alias = "INRecurrenceFrequencyWeekly")]
    pub const Weekly: Self = Self(4);
    #[doc(alias = "INRecurrenceFrequencyMonthly")]
    pub const Monthly: Self = Self(5);
    #[doc(alias = "INRecurrenceFrequencyYearly")]
    pub const Yearly: Self = Self(6);
}

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

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