Expand description
A trait to aid in the ergonomics of creating a Size2D
and usage of interfaces expecting Size2D.
let size = size!(200, 400);
size.grow(size!(800, 400));
size.grow((400, 200));
Creates a new Size2D from self
let size = (200, 100).to_size();
assert_eq!(size, size!(200, 100));