Trait libreda_db::layout::prelude::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,