pub trait EdgeTrait: Debug + Clone {
// Required methods
fn new(source: u32, target: u32) -> Self;
fn source(&self) -> u32;
fn target(&self) -> u32;
}Required Methods§
fn new(source: u32, target: u32) -> Self
fn source(&self) -> u32
fn target(&self) -> u32
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.