Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ Point
Class
Point
src/geometry/mod.rs:2–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#[derive(Clone, Debug, Default)]
2
pub struct Point {
3
pub x: f32,
4
pub y: f32,
5
}
6
7
impl Point {
8
pub fn new(x: f32, y: f32) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected