Struct rtriangulate::Edge [] [src]

pub struct Edge(pub usize, pub usize);

An edge, represented by indexes into a list of points.

When compared, ignore the directionality of the edge, such as:

use rtriangulate::Edge;
assert_eq!(Edge(0, 1), Edge(1, 0));

Trait Implementations

impl Debug for Edge
[src]

Formats the value using the given formatter.

impl Clone for Edge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Edge
[src]

Compare edges regardless of directionality.

This method tests for !=.