Type Alias Vec2
Source pub type Vec2 = Vector2<i32>;
pub struct Vec2 {
pub x: i32,
pub y: i32,
}
Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Converts to this type from the input type.