Struct sc2::Rect
[−]
[src]
pub struct Rect<T> { pub x: T, pub y: T, pub w: T, pub h: T, }
generic structure to represent a 2D rectangle
Fields
x: T
x position of lefthand corner
y: T
y position of lefthand corner
w: T
width of the rectangle
h: T
height of the rectangle