Trait EdgeEndpoints

Source
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§

Source

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

Get the start point of the edge.

Source

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

Get the end point of the edge.

Implementors§

Source§

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

Source§

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