MCPcopy Create free account
hub / github.com/Kethku/Pando / RectExt

Interface RectExt

aspen/src/util.rs:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69pub trait RectExt {
70 fn corners(&self) -> [Point; 4];
71
72 fn center_left(&self) -> Point;
73 fn center_right(&self) -> Point;
74 fn center_top(&self) -> Point;
75 fn center_bottom(&self) -> Point;
76}
77
78impl RectExt for Rect {
79 fn corners(&self) -> [Point; 4] {

Callers

nothing calls this directly

Implementers 1

util.rsaspen/src/util.rs

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…