pub unsafe trait UNNotificationResponseUIKitAdditions:
ClassType
+ Sized
+ Sealed {
// Provided method
unsafe fn targetScene(
&self,
mtm: MainThreadMarker,
) -> Option<Retained<UIScene>> { ... }
}
Available on crate feature
UNNotificationResponse_UIKitAdditions
only.Expand description
Category “UIKitAdditions” on UNNotificationResponse
.
Provided Methods§
unsafe fn targetScene(&self, mtm: MainThreadMarker) -> Option<Retained<UIScene>>
Available on crate features
UIResponder
and UIScene
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
impl UNNotificationResponseUIKitAdditions for UNNotificationResponse
Available on crate feature
objc2-user-notifications
only.