Struct hedge::Vertex [] [src]

pub struct Vertex {
    pub edge_index: EdgeIndex,
    pub attr_index: VertexAttributeIndex,
}

Represents the point where two edges meet.

Fields

Index of the outgoing edge

Index of this vertex's attributes

Methods

impl Vertex
[src]

Trait Implementations

impl Default for Vertex
[src]

Returns the "default value" for a type. Read more

impl Debug for Vertex
[src]

Formats the value using the given formatter.

impl Validation for Vertex
[src]

A vertex is considered "valid" as long as it as an edge index other than INVALID_COMPONENT_INDEX