#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct ScreenSize2D(pub usize, pub usize);
impl ScreenSize2D {
#[inline(always)]
pub fn new(w: usize, h: usize) -> ScreenSize2D {
ScreenSize2D(w, h)
}
#[inline(always)]
pub fn width(&self) -> usize {
self.0
}
#[inline(always)]
pub fn height(&self) -> usize {
self.1
}
}