Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ Vector2
Class
Vector2
perro_source/core/perro_structs/src/structs/structs_2d/vector2.rs:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
/// ```
17
#[derive(Clone, Copy, Debug, PartialEq, Default)]
18
pub struct Vector2 {
19
pub x: f32,
20
pub y: f32,
21
}
22
23
impl fmt::Display for Vector2 {
24
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Callers
1
from
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected