FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WaylandWorkerOptions

    struct · ferroui-wayland · v0.5.0

    struct WaylandWorkerOptions
    

    The options the worker thread reads. The options object itself holds a callback of the UI thread, so the worker gets the values it needs.

    View source

    Members

    wl_display_name

    wl_display_name: Option<String>
    

    Source

    display_fd

    display_fd: Option<i32>
    

    Source

    enable_reconnects

    enable_reconnects: Option<bool>
    

    Source

    force_drawn_decorations

    force_drawn_decorations: bool
    

    Source

    gl_profiles

    gl_profiles: Vec<ferroui_opengl::GlVersion>
    

    Source

    use_dmabuf_swapchain

    use_dmabuf_swapchain: Option<bool>
    

    Source

    app_id

    app_id: Option<String>
    

    Source

    reconnects_disabled

    fn reconnects_disabled(self: &Self) -> bool
    

    Whether a lost connection ends the worker instead of starting the reconnect probes.

    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
    • ClassDefaults
    • Instrument
    • WithSubscriber
    • Downcast
    • DowncastSync
    • Clone
    • Debug
    • ErasedDestructor
    • IntoEither

    Availability

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