Struct k::Node[][src]

pub struct Node<T>(_);

Graph Node, which has a parent and children

Methods

impl<T> Node<T>
[src]

iter from the end to root, it contains nodes[id] itsself

iter to the end, it contains nodes[id] itsself

Set parent and child relations at same time

Trait Implementations

impl<T: Debug> Debug for Node<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Clone for Node<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> !Send for Node<T>

impl<T> !Sync for Node<T>