objc2_shared_with_you/generated/
SWHighlight.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
16 #[derive(Debug, PartialEq, Eq, Hash)]
17 pub struct SWHighlight;
18);
19
20extern_conformance!(
21 unsafe impl NSCoding for SWHighlight {}
22);
23
24extern_conformance!(
25 unsafe impl NSCopying for SWHighlight {}
26);
27
28unsafe impl CopyingHelper for SWHighlight {
29 type Result = Self;
30}
31
32extern_conformance!(
33 unsafe impl NSObjectProtocol for SWHighlight {}
34);
35
36extern_conformance!(
37 unsafe impl NSSecureCoding for SWHighlight {}
38);
39
40impl SWHighlight {
41 extern_methods!(
42 #[unsafe(method(identifier))]
44 #[unsafe(method_family = none)]
45 pub unsafe fn identifier(&self) -> Retained<AnyObject >;
46
47 #[unsafe(method(URL))]
49 #[unsafe(method_family = none)]
50 pub unsafe fn URL(&self) -> Retained<NSURL>;
51
52 #[unsafe(method(init))]
53 #[unsafe(method_family = init)]
54 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
55
56 #[unsafe(method(new))]
57 #[unsafe(method_family = new)]
58 pub unsafe fn new() -> Retained<Self>;
59 );
60}