pub struct FerroNativePlatformOptions {
pub rendering_mode: Vec<FerroNativeRenderingMode>,
pub overlay_popups: bool,
pub ferro_native_library_path: Option<String>,
pub app_sandbox_enabled: bool,
}Expand description
OSX backend options.
Fields§
§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: boolEmbeds popups to the window when set to true. The default value is false.
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: boolIf 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§
Source§impl Clone for FerroNativePlatformOptions
impl Clone for FerroNativePlatformOptions
Source§impl Debug for FerroNativePlatformOptions
impl Debug for FerroNativePlatformOptions
Source§impl Default for FerroNativePlatformOptions
impl Default for FerroNativePlatformOptions
impl Eq for FerroNativePlatformOptions
impl StructuralPartialEq for FerroNativePlatformOptions
Auto Trait Implementations§
impl Freeze for FerroNativePlatformOptions
impl RefUnwindSafe for FerroNativePlatformOptions
impl Send for FerroNativePlatformOptions
impl Sync for FerroNativePlatformOptions
impl Unpin for FerroNativePlatformOptions
impl UnsafeUnpin for FerroNativePlatformOptions
impl UnwindSafe for FerroNativePlatformOptions
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more