pub trait Edges<T, Id> {
// Required method
fn iter_edges(&self) -> impl Iterator<Item = ((Id, Id), T)>;
}Expand description
Collection of edges for the layout
Required Methods§
Sourcefn iter_edges(&self) -> impl Iterator<Item = ((Id, Id), T)>
fn iter_edges(&self) -> impl Iterator<Item = ((Id, Id), T)>
Create an iterator through the edges ((node_1, node_2), weight)
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.