petgraph::visit

Trait GraphRef

Source
pub trait GraphRef: Copy + GraphBase { }
Expand description

A copyable reference to a graph.

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.

Implementations on Foreign Types§

Source§

impl<'a, G> GraphRef for &'a G
where G: GraphBase,

Implementors§