Trait Subgraph

Source
pub trait Subgraph<N = String, V = i64>: Graph<N, V>
where N: Node, V: Weight,
{ // Provided method fn is_subgraph(&self, graph: impl Graph<N, V>) -> bool { ... } }

Provided Methods§

Source

fn is_subgraph(&self, graph: impl Graph<N, V>) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<N, V> Subgraph<N, V> for DirectedGraph<N, V>
where N: Node, V: Weight,

Source§

impl<N, V> Subgraph<N, V> for UndirectedGraph<N, V>
where N: Node, V: Weight,