Skip to main content

StartNode

Trait StartNode 

Source
pub trait StartNode: DirectedGraph {
    // Required method
    fn start_node(&self) -> Self::Node;
}

Required Methods§

Source

fn start_node(&self) -> Self::Node

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'graph, G: StartNode> StartNode for &'graph G

Source§

fn start_node(&self) -> Self::Node

Implementors§