MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / Rect

Class Rect

src/geometry.rs:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13#[derive(Debug, Clone)]
14pub struct Rect {
15 pub origin: Point,
16 pub size: Size,
17}
18
19impl Size {
20 pub fn new(width: f32, height: f32) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected