Struct pathfinder::Link[][src]

pub struct Link<'a, L: 'a + Location> {
    pub to: &'a L,
    pub color: Rgba<u8>,
}

Connects two Coordinate points.

Fields

Methods

impl<'a, L: Location> Link<'a, L>
[src]

Creates a new Link and binds two nodes together.

Trait Implementations

impl<'a, L: Clone + 'a + Location> Clone for Link<'a, L>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, L: Debug + 'a + Location> Debug for Link<'a, L>
[src]

Formats the value using the given formatter. Read more

impl<'a, L: Location + PartialEq> PartialEq for Link<'a, L>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<'a, L> Send for Link<'a, L> where
    L: Sync

impl<'a, L> Sync for Link<'a, L> where
    L: Sync