Trait sark_grids::point::Size2d
source · [−]pub trait Size2d: Clone + Copy {
fn xy(&self) -> IVec2;
fn width(&self) -> usize { ... }
fn height(&self) -> usize { ... }
fn len(&self) -> usize { ... }
}
Expand description
A trait for mixing of the different types representing a 2d size.