objc2_messages/generated/
MSMessageLayout.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::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10    /// The MSMessageLayout is an abstract base for classes that define a messages presentation in the conversation transcript.
11    ///
12    /// See also [Apple's documentation](https://developer.apple.com/documentation/messages/msmessagelayout?language=objc)
13    #[unsafe(super(NSObject))]
14    #[derive(Debug, PartialEq, Eq, Hash)]
15    pub struct MSMessageLayout;
16);
17
18extern_conformance!(
19    unsafe impl NSCopying for MSMessageLayout {}
20);
21
22unsafe impl CopyingHelper for MSMessageLayout {
23    type Result = Self;
24}
25
26extern_conformance!(
27    unsafe impl NSObjectProtocol for MSMessageLayout {}
28);
29
30impl MSMessageLayout {
31    extern_methods!();
32}
33
34/// Methods declared on superclass `NSObject`.
35impl MSMessageLayout {
36    extern_methods!(
37        #[unsafe(method(init))]
38        #[unsafe(method_family = init)]
39        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
40
41        #[unsafe(method(new))]
42        #[unsafe(method_family = new)]
43        pub unsafe fn new() -> Retained<Self>;
44    );
45}