FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroNativePlatformOptions

    struct · ferroui-native · v0.5.0

    struct FerroNativePlatformOptions
    

    OSX backend options.

    View source

    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.

    Source

    overlay_popups

    overlay_popups: bool
    

    Embeds popups to the window when set to true. The default value is false.

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IUnknownImpl
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Default

    Availability

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