EdgeConstructor

Trait EdgeConstructor 

Source
pub trait EdgeConstructor {
    // Required methods
    fn new(from: usize, to: usize) -> Self;
    fn new_with_colour(from: usize, to: usize, colour: u8) -> Self;
}

Required Methods§

Source

fn new(from: usize, to: usize) -> Self

Source

fn new_with_colour(from: usize, to: usize, colour: u8) -> Self

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.

Implementors§