FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IosPlatformOptions

    struct · ferroui-ios · v0.5.0

    struct IosPlatformOptions
    

    iOS backend options.

    View source

    Members

    rendering_mode

    rendering_mode: Vec<IosRenderingMode>
    

    The rendering modes with fallbacks. The first element has the highest priority. The default value is Metal, then OpenGL.

    The platform fails to start when no value could be applied.

    Source

    enable_high_refresh_rate

    enable_high_refresh_rate: bool
    

    Gets or sets whether rendering follows the display refresh rate, up to 120 Hz on ProMotion displays. The default value is true.

    On iPhone, rates above 60 Hz also need CADisableMinimumFrameDurationOnPhone set to true in the app's Info.plist. Set this to false to keep the system's default rate, for example if the app can't sustain high frame rates.

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

    Availability

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