Trait UNNotificationResponseUIKitAdditions

Source
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§

Source

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§

Source§

impl UNNotificationResponseUIKitAdditions for UNNotificationResponse

Available on crate feature objc2-user-notifications only.

Implementors§