MCPcopy Create free account
hub / github.com/ahgamut/rust-ape-example / Rectangle

Class Rectangle

src/bin/std_box.rs:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14// corners are in space
15#[allow(dead_code)]
16struct Rectangle {
17 top_left: Point,
18 bottom_right: Point,
19}
20
21fn origin() -> Point {
22 Point { x: 0.0, y: 0.0 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected