Struct pathfinder::Link [] [src]

pub struct Link<'a> {
    pub from: &'a Coordinate,
    pub to: &'a Coordinate,
    pub color: Rgba<u8>,
}

Connects two Coordinate points.

Fields

Methods

impl<'a> Link<'a>
[src]

[src]

Creates a new Link and binds two nodes together.

Trait Implementations

impl<'a> Draw for Link<'a>
[src]

[src]

Draws the connection using either a modified version of Bresham's line algorithm or a generic one.

[src]

[src]

impl<'a> PartialEq for Link<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for Link<'a>

impl<'a> Sync for Link<'a>