lurq 0.2.0

A Rust UI toolkit with typed components, retained state, reactive signals, GPU rendering, and DevTools.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Clone, Copy, Default)]
pub struct Offset {
  pub x: f32,
  pub y: f32,
}

impl Offset {
  pub fn new(x: f32, y: f32) -> Self {
    Self { x, y }
  }
}