Skip to main content

FerroNativePlatformExtensions

Trait FerroNativePlatformExtensions 

Source
pub trait FerroNativePlatformExtensions {
    // Required method
    fn use_ferro_native(&self) -> AppBuilder;
}
Expand description

Selects the macOS backend for an application.

Required Methods§

Source

fn use_ferro_native(&self) -> AppBuilder

Uses the standard runtime platform and the macOS windowing subsystem.

The backend is initialized with the FerroNativePlatformOptions registered with the builder, or the default options; once the application is set up its name becomes the application title.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FerroNativePlatformExtensions for AppBuilder

Available on macOS only.

Implementors§