pub trait Dimensions {
// Required method
fn dimensions(&self) -> Point;
}
Expand description
A type that has 2-dimensional boundaries
Required Methods§
Sourcefn dimensions(&self) -> Point
fn dimensions(&self) -> Point
Get the size of the area