objc2_user_notifications/generated/
UNNotificationAttributedMessageContext.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[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
28impl UNNotificationAttributedMessageContext {
30 extern_methods!(
31 #[unsafe(method(new))]
32 #[unsafe(method_family = new)]
33 pub unsafe fn new() -> Retained<Self>;
34 );
35}