Trait orzir_core::graph::GraphEdge

source ·
pub trait GraphEdge<K>: Clone
where K: Copy,
{ // Required methods fn from(&self) -> K; fn to(&self) -> K; }
Expand description

A trait for types that can represent a graph edge.

Required Methods§

source

fn from(&self) -> K

source

fn to(&self) -> K

Object Safety§

This trait is not object safe.

Implementors§