Skip to main content

PathFinding

Trait PathFinding 

Source
pub trait PathFinding {
    // Required method
    fn execute(&self, source: Node, target: Node, graph: &Graph) -> Graph;
}

Required Methods§

Source

fn execute(&self, source: Node, target: Node, graph: &Graph) -> Graph

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§