FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FbDevOutputOptions

    struct · ferroui-linuxframebuffer · v0.5.0

    struct FbDevOutputOptions
    

    FbDev output options.

    View source

    Members

    file_name

    file_name: Option<String>
    

    The frame buffer device name. Defaults to the value in the environment variable FRAMEBUFFER, or /dev/fb0 when FRAMEBUFFER is not set.

    Source

    pixel_format

    pixel_format: Option<ferroui_base::platform::PixelFormat>
    

    The desired pixel format. When not set the format of the device is used.

    Source

    render_directly_to_mapped_memory

    render_directly_to_mapped_memory: bool
    

    Render directly to the mapped memory of the device instead of to a back buffer that is copied after the vertical sync.

    Source

    scaling

    scaling: f64
    

    The initial scale factor to use.

    Source

    use_async_front_buffer_blit

    use_async_front_buffer_blit: Option<bool>
    

    When true, the wait for the vertical sync and the copy that follows run on a dedicated thread, saving the rendering thread from a blocking wait. Only has an effect when render_directly_to_mapped_memory is false.

    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
    • Default
    • ErasedDestructor
    • IntoEither

    Availability

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