Trait graph_types::Node

source ·
pub trait Node {
    // Required method
    fn index(&self) -> usize;
}
Expand description

Arguments

  • index:

returns: Option<CowSelf::Node>

Examples

use graph_theory::GraphEngine;

Required Methods§

source

fn index(&self) -> usize

Arguments
  • index:

returns: Option<CowSelf::Node>

Examples
use graph_theory::GraphEngine;

Implementations on Foreign Types§

source§

impl Node for usize

source§

fn index(&self) -> usize

Implementors§