FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DrmOutputOptions

    struct · ferroui-linuxframebuffer · v0.5.0

    struct DrmOutputOptions
    

    DRM Output Options

    View source

    Members

    scaling

    scaling: f64
    

    Scaling factor. Default: 1.0

    Source

    orientation

    orientation: ferroui_base::platform::SurfaceOrientation
    

    The orientation of the screen relative to the frame buffer memory orientation Default: Normal

    Source

    enable_initial_buffer_swapping

    enable_initial_buffer_swapping: bool
    

    If true an two cycle buffer swapping is processed at init. Default: True

    Source

    initial_buffer_swapping_color

    initial_buffer_swapping_color: ferroui_base::media::Color
    

    Color for enable_initial_buffer_swapping Default: R0 G0 B0 A0

    Source

    video_mode

    video_mode: Option<ferroui_base::PixelSize>
    

    Specifies the video mode with which the DrmOutput should be created, if it is not found it will fallback to the preferred mode. If null, the preferred mode will be used.

    Source

    connector_type_id

    connector_type_id: Option<u32>
    

    Specifies the connector type ID used with connector_type. If null, the preferred connector type ID will be used.

    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.