Trait Dimensions

Source
pub trait Dimensions {
    // Required method
    fn dimensions(&self) -> Point;
}
Expand description

A type that has 2-dimensional boundaries

Required Methods§

Source

fn dimensions(&self) -> Point

Get the size of the area

Implementors§