ControlledApplicationLifetimeExitEventArgs
struct · ferroui-controls · v0.5.0
struct ControlledApplicationLifetimeExitEventArgs
Contains the arguments for the exit event of a controlled application lifetime.
Members
new
fn new(application_exit_code: i32) -> Self
Creates the arguments with the exit code of the application.
application_exit_code
fn application_exit_code(self: &Self) -> i32
The exit code that should be returned to the operating system when the application exits.
set_application_exit_code
fn set_application_exit_code(self: &Self, value: i32)
Sets the exit code that should be returned to the operating system when the application exits.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.