Struct graphsearch::Node [] [src]

pub struct Node<T> {
    pub content: T,
    pub adjacent: Vec<Vertex>,
}

A node in the graph, made up a any content type T and a Vec of vertices

Fields

content can be any type T

adjacent takes a Vec of vertices to adjacent nodes