pub trait EdgeEndpoints<T> {
    // Required methods
    fn start(&self) -> Point<T>;
    fn end(&self) -> Point<T>;
Expand description

Get the endpoints of an edge.

Required Methods§

fn start(&self) -> Point<T>

Get the start point of the edge.

fn end(&self) -> Point<T>

Get the end point of the edge.



impl<T> EdgeEndpoints<T> for Edge<T>where T: Copy,


impl<T> EdgeEndpoints<T> for REdge<T>where T: Copy,