objc2_user_notifications/generated/
UNNotificationAttributedMessageContext.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/usernotifications/unnotificationattributedmessagecontext?language=objc)
10    #[unsafe(super(NSObject))]
11    #[derive(Debug, PartialEq, Eq, Hash)]
12    pub struct UNNotificationAttributedMessageContext;
13);
14
15unsafe impl NSObjectProtocol for UNNotificationAttributedMessageContext {}
16
17#[cfg(feature = "UNNotificationContent")]
18unsafe impl UNNotificationContentProviding for UNNotificationAttributedMessageContext {}
19
20impl UNNotificationAttributedMessageContext {
21    extern_methods!(
22        #[unsafe(method(init))]
23        #[unsafe(method_family = init)]
24        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
25    );
26}
27
28/// Methods declared on superclass `NSObject`.
29impl UNNotificationAttributedMessageContext {
30    extern_methods!(
31        #[unsafe(method(new))]
32        #[unsafe(method_family = new)]
33        pub unsafe fn new() -> Retained<Self>;
34    );
35}