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
15extern_conformance!(
16    unsafe impl NSObjectProtocol for UNNotificationAttributedMessageContext {}
17);
18
19#[cfg(feature = "UNNotificationContent")]
20extern_conformance!(
21    unsafe impl UNNotificationContentProviding for UNNotificationAttributedMessageContext {}
22);
23
24impl UNNotificationAttributedMessageContext {
25    extern_methods!(
26        #[unsafe(method(init))]
27        #[unsafe(method_family = init)]
28        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
29    );
30}
31
32/// Methods declared on superclass `NSObject`.
33impl UNNotificationAttributedMessageContext {
34    extern_methods!(
35        #[unsafe(method(new))]
36        #[unsafe(method_family = new)]
37        pub unsafe fn new() -> Retained<Self>;
38    );
39}