Trait IntoEdges

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

Source

type Edge: EdgeEndpoints<T>

Type of edge which will be returned.

Source

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

Iterator type.

Required Methods§

Source

fn into_edges(self) -> Self::EdgeIter

Get an iterator over edges.

Implementors§