euv-cli 0.50.0

Cross-platform CLI tool for the euv native UI framework supporting run, build, check, fmt, doctor, new, and Hyperlane SSE dynamic updates across all supported platforms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

/// Decoded 8-bit straight-alpha RGBA image buffer used for pure-Rust icon resizing and encoding.
#[derive(Clone, Data, Debug, Eq, New, PartialEq)]
pub struct RgbaImage {
    /// Image width in pixels.
    #[get(type(copy))]
    pub(crate) width: u32,
    /// Image height in pixels.
    #[get(type(copy))]
    pub(crate) height: u32,
    /// Row-major RGBA8 pixel bytes (`width * height * 4`).
    pub(crate) pixels: Vec<u8>,
}