Trait IUNNotificationActionIcon

Source
pub trait IUNNotificationActionIcon: PNSObject {
    // Provided methods
    fn m_icon_with_system_image_name(system_image_name: NSString) -> Self
       where Self: Sized + FromId { ... }
    fn m_icon_with_template_image_name(template_image_name: NSString) -> Self
       where Self: Sized + FromId { ... }
}
Expand description

A trait containing all the methods for UNNotificationActionIcon

Provided Methods§

Source

fn m_icon_with_system_image_name(system_image_name: NSString) -> Self
where Self: Sized + FromId,

Creates an action icon by using a system symbol image.

Source

fn m_icon_with_template_image_name(template_image_name: NSString) -> Self
where Self: Sized + FromId,

Creates an action icon based on an image in your app’s bundle, preferably in an asset catalog.

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.

Implementors§