pub trait ApplicationImpl: ObjectImpl + ApplicationImplExt {
// Provided methods
fn activate(&self) { ... }
fn after_emit(&self, platform_data: &Variant) { ... }
fn before_emit(&self, platform_data: &Variant) { ... }
fn command_line(&self, command_line: &ApplicationCommandLine) -> ExitCode { ... }
fn local_command_line(
&self,
arguments: &mut ArgumentList,
) -> Option<ExitCode> { ... }
fn open(&self, files: &[File], hint: &str) { ... }
fn quit_mainloop(&self) { ... }
fn run_mainloop(&self) { ... }
fn shutdown(&self) { ... }
fn startup(&self) { ... }
fn handle_local_options(&self, options: &VariantDict) -> ExitCode { ... }
}
Provided Methods§
fn activate(&self)
fn after_emit(&self, platform_data: &Variant)
fn before_emit(&self, platform_data: &Variant)
fn command_line(&self, command_line: &ApplicationCommandLine) -> ExitCode
fn local_command_line(&self, arguments: &mut ArgumentList) -> Option<ExitCode>
fn open(&self, files: &[File], hint: &str)
fn quit_mainloop(&self)
fn run_mainloop(&self)
fn shutdown(&self)
fn startup(&self)
fn handle_local_options(&self, options: &VariantDict) -> ExitCode
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.