FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AndroidPlatformOptions

    struct · ferroui-android · v0.5.0

    struct AndroidPlatformOptions
    

    The options of the Android platform, registered with the application builder (AppBuilder::with).

    View source

    Members

    rendering_mode

    rendering_mode: Vec<AndroidRenderingMode>
    

    Gets or sets the rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: AndroidRenderingMode::Egl, AndroidRenderingMode::Software.

    If the application should work on as wide a range of devices as possible, at least add AndroidRenderingMode::Software as a fallback value. The platform fails to initialize when no value was matched.

    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
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Default
    • ErasedDestructor
    • IntoEither

    Availability

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