dockview_dioxus 0.1.9

A tiling/docking layout for Dioxus — panes split, resize, tab, float, and maximize, with the arrangement saved to JSON and restored on reload.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Pure geometry primitives.

/// A pixel rectangle (dockview's `getDomNodePagePosition` result). Measured slot/root
/// boxes are stored raw (viewport); the content overlay localizes them at render time.
#[derive(Clone, Copy, Debug, Default, serde::Deserialize, PartialEq, serde::Serialize)]
pub struct Rect {
	pub x: f64,
	pub y: f64,
	pub width: f64,
	pub height: f64,
}