fn rect_c_to_p(r: &Rect, c: u8, p: u8, ext: (i32, i32)) -> Rect
世界 c の矩形を世界 p の矩形へ(外形 ext は c での箱全体の大きさ)。
c
p
ext