pub type Sides = [i8; 2];
The edges a resize drags, on each axis (x, then y): -1 the start edge (left, top), 1 the end edge (right, bottom), 0 neither.
-1
1
0