pub trait GraphLog<K: Clone + Eq + Hash> {
// Required methods
fn add_node(
&mut self,
id: &K,
edges: &[GraphEdge<K>],
node_symbol: &str,
text: &str,
) -> Result<()>;
fn width(&self, id: &K, edges: &[GraphEdge<K>]) -> usize;
}Required Methods§
fn add_node( &mut self, id: &K, edges: &[GraphEdge<K>], node_symbol: &str, text: &str, ) -> Result<()>
fn width(&self, id: &K, edges: &[GraphEdge<K>]) -> usize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".