Struct pathfinder::Node [] [src]

pub struct Node<T: Shape> {
    pub hash: u64,
    pub geo: Coordinate,
    pub color: Rgba<u8>,
    pub radius: Option<u32>,
    // some fields omitted
}

A positioned object that can be drawn on an image::ImageBuffer.

Fields

Methods

impl<T: Shape> Node<T>
[src]

[src]

Constructs a Node struct.

impl<T: Shape> Node<T>
[src]

[src]

Draws a node on an ImageBuffer.

Trait Implementations

impl<T: Shape> PartialEq for Node<T>
[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 !=.

impl<T: Clone + Shape> Clone for Node<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Node<T> where
    T: Send

impl<T> Sync for Node<T> where
    T: Sync