FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlledApplicationLifetimeExitEventArgs

    struct · ferroui-controls · v0.5.0

    struct ControlledApplicationLifetimeExitEventArgs
    

    Contains the arguments for the exit event of a controlled application lifetime.

    View source

    Members

    new

    fn new(application_exit_code: i32) -> Self
    

    Creates the arguments with the exit code of the application.

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.