lurq 0.41.2

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
12
13
14
15
use std::sync::Arc;

use super::tessellate::TessellatedSvg;
use crate::layout::quad::ClipRect;

pub struct SvgCmd {
  pub order: usize,
  pub x: f32,
  pub y: f32,
  pub width: f32,
  pub height: f32,
  pub svg_id: u64,
  pub mesh: Arc<TessellatedSvg>,
  pub clip: ClipRect,
}