Edge

Trait Edge 

Source
pub trait Edge: Eq {
    // Required methods
    fn from(&self) -> usize;
    fn to(&self) -> usize;
    fn color(&self) -> u8;
    fn set_color(&mut self, color: u8);
}

Required Methods§

Source

fn from(&self) -> usize

Source

fn to(&self) -> usize

Source

fn color(&self) -> u8

Source

fn set_color(&mut self, color: u8)

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§