FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DispatcherOptions

    struct · ferroui-base · v0.5.0

    struct DispatcherOptions
    

    Options for the dispatcher, registered with the service locator.

    View source

    Members

    input_starvation_timeout

    input_starvation_timeout: std::time::Duration
    

    Gets or sets a timeout after which the dispatcher will start prioritizing input events over rendering. The default value is one second.

    If no input events are processed within this time, the dispatcher will start prioritizing input events over rendering to prevent the application from becoming unresponsive. This may need to be lowered on resource-constrained platforms where input events are processed on the same thread as rendering.

    Source

    Trait implementations

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

    Availability

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