pub trait Corners {
// Required methods
fn top_left(&self) -> Point;
fn top_right(&self) -> Point;
fn bottom_left(&self) -> Point;
fn bottom_right(&self) -> Point;
}
Expand description
Replacement for methods removed from Euclid
pub trait Corners {
// Required methods
fn top_left(&self) -> Point;
fn top_right(&self) -> Point;
fn bottom_left(&self) -> Point;
fn bottom_right(&self) -> Point;
}
Replacement for methods removed from Euclid