Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ Rect
Class
Rect
src/lib.rs:26–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
#[derive(Debug, Clone)]
26
pub struct Rect {
27
pub origin: Point,
28
pub size: Size,
29
}
30
31
impl Size {
32
pub fn new(width: f32, height: f32) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected