objc2-message-ui 0.3.2

Bindings to the MessageUI 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/messageui/mfmailcomposecontrollerdeferredaction?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct MFMailComposeControllerDeferredAction(pub NSInteger);
impl MFMailComposeControllerDeferredAction {
    #[doc(alias = "MFMailComposeControllerDeferredActionNone")]
    pub const None: Self = Self(0);
    #[doc(alias = "MFMailComposeControllerDeferredActionAdjustInsertionPoint")]
    pub const AdjustInsertionPoint: Self = Self(1);
    #[doc(alias = "MFMailComposeControllerDeferredActionAddMissingRecipients")]
    pub const AddMissingRecipients: Self = Self(2);
}

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

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