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

Required Methods§

source

fn top_left(&self) -> Point

source

fn top_right(&self) -> Point

source

fn bottom_left(&self) -> Point

source

fn bottom_right(&self) -> Point

Implementors§