FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreviewStageImage

    struct · ferroui-designer · v0.5.0

    struct PreviewStageImage
    

    A captured PNG and the dimensions of the exact native frame that produced it. The image is owned bytes, so a save picker may await without retaining controls.

    View source

    Members

    png

    png: Vec<u8>
    

    Source

    logical_width

    logical_width: f64
    

    Source

    logical_height

    logical_height: f64
    

    Source

    pixel_width

    pixel_width: u32
    

    Source

    pixel_height

    pixel_height: u32
    

    Source

    scale

    scale: f64
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Same
    • Debug

    Availability

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