pub trait IntoEdges<T> {
    type Edge: EdgeEndpoints<T>;
    type EdgeIter: Iterator<Item = Self::Edge>;

    // Required method
    fn into_edges(self) -> Self::EdgeIter;
}
Expand description

Iterate over edges. For an n-gon this would produce n edges.

Required Associated Types§

type Edge: EdgeEndpoints<T>

Type of edge which will be returned.

type EdgeIter: Iterator<Item = Self::Edge>

Iterator type.

Required Methods§

fn into_edges(self) -> Self::EdgeIter

Get an iterator over edges.

Implementors§

§

impl<T> IntoEdges<T> for &Rect<T>where T: CoordinateType,