FerroNativePlatformOptions
struct · ferroui-native · v0.5.0
struct FerroNativePlatformOptions
OSX backend options.
Members
rendering_mode
rendering_mode: Vec<FerroNativeRenderingMode>
Gets or sets the rendering modes with fallbacks.
The first element in the list has the highest priority.
The default value is: FerroNativeRenderingMode::Metal,
FerroNativeRenderingMode::OpenGl,
FerroNativeRenderingMode::Software.
If application should work on as wide range of devices as possible,
at least add FerroNativeRenderingMode::Software as a fallback
value.
overlay_popups
overlay_popups: bool
Embeds popups to the window when set to true. The default value is false.
ferro_native_library_path
ferro_native_library_path: Option<String>
This property should be used in case you want to build the OSX
native part by yourself and make your app run with it. The default
value is None: the library linked into the application is used.
app_sandbox_enabled
app_sandbox_enabled: bool
If you distribute your app in App Store - it should be with sandbox enabled. This parameter enables the bookmark APIs of storage items, as well as wrapping all storage related calls in secure context. The default value is true.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherIUnknownImplCloneDebugStructuralPartialEqPartialEqEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.