objc2_shared_with_you/generated/
SWHighlightEvent.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_protocol!(
10    /// A protocol defining an activity that can be posted in response to a user action on some content.
11    ///
12    /// See also [Apple's documentation](https://developer.apple.com/documentation/sharedwithyou/swhighlightevent?language=objc)
13    pub unsafe trait SWHighlightEvent:
14        NSObjectProtocol + NSSecureCoding + NSCopying
15    {
16        #[unsafe(method(highlightURL))]
17        #[unsafe(method_family = none)]
18        unsafe fn highlightURL(&self) -> Retained<NSURL>;
19    }
20);