Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ new
Method
new
src/geometry.rs:20–22 ·
view source on GitHub ↗
(width: f32, height: f32)
Source
from the content-addressed store, hash-verified
18
19
impl Size {
20
pub fn new(width: f32, height: f32) -> Self {
21
Self { width, height }
22
}
23
}
24
25
impl Point {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected