Struct bitcoin_qt::MacNotificationHandler
source · pub struct MacNotificationHandler { /* private fields */ }
Expand description
| Macintosh-specific notification | handler (supports UserNotificationCenter). |
Implementations§
source§impl MacNotificationHandler
impl MacNotificationHandler
sourcepub fn show_notification(&mut self, title: &String, text: &String)
pub fn show_notification(&mut self, title: &String, text: &String)
| shows a macOS 10.8+ UserNotification | in the UserNotificationCenter |
sourcepub fn has_user_notification_center_support(&mut self) -> bool
pub fn has_user_notification_center_support(&mut self) -> bool
| check if OS can handle UserNotifications |
pub fn instance() -> *mut MacNotificationHandler
Auto Trait Implementations§
impl RefUnwindSafe for MacNotificationHandler
impl Send for MacNotificationHandler
impl Sync for MacNotificationHandler
impl Unpin for MacNotificationHandler
impl UnwindSafe for MacNotificationHandler
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more