xengui 0.2.1

wgpu based, modern and high-performance GUI library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::Length;

#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub struct Size {
    pub width: Length,
    pub height: Length,
}

impl Size {
    pub const fn new(width: Length, height: Length) -> Self {
        Self { width, height }
    }
}