pub struct FerroNativeApplicationPlatform { /* private fields */ }Expand description
Receives the application events of the native side and exposes them as the platform lifetime events.
Trait Implementations§
Source§impl IFrnApplicationEventsImpl for FerroNativeApplicationPlatform
impl IFrnApplicationEventsImpl for FerroNativeApplicationPlatform
fn files_opened(&self, urls: Option<&IFrnStringArray>)
fn urls_opened(&self, urls: Option<&IFrnStringArray>)
fn try_shutdown(&self, is_os_shutdown: bool) -> FrnShutdownReply
fn on_reopen(&self)
fn on_hide(&self)
fn on_unhide(&self)
fn on_activate(&self)
fn on_deactivate(&self)
fn on_terminating(&self)
Source§impl IPlatformLifetimeEventsImpl for FerroNativeApplicationPlatform
impl IPlatformLifetimeEventsImpl for FerroNativeApplicationPlatform
Source§fn shutdown_requested(
&self,
handler: Rc<dyn Fn(&ShutdownRequestedEventArgs)>,
) -> Rc<dyn IDisposable>
fn shutdown_requested( &self, handler: Rc<dyn Fn(&ShutdownRequestedEventArgs)>, ) -> Rc<dyn IDisposable>
Raised by the platform when a shutdown is requested. Read more
Auto Trait Implementations§
impl !Freeze for FerroNativeApplicationPlatform
impl !RefUnwindSafe for FerroNativeApplicationPlatform
impl !Send for FerroNativeApplicationPlatform
impl !Sync for FerroNativeApplicationPlatform
impl !UnwindSafe for FerroNativeApplicationPlatform
impl Unpin for FerroNativeApplicationPlatform
impl UnsafeUnpin for FerroNativeApplicationPlatform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more