Skip to main content

Charted

Trait Charted 

Source
pub trait Charted {
    type Col: PartialEq + Copy;
    type Ph: Named + 'static;
    type Reach: PartialEq + Copy;

    // Required method
    fn lines(&self) -> Vec<(&'static [Piece<Self::Ph>], Self::Col, Self::Reach)>;
}

Required Associated Types§

Required Methods§

Source

fn lines(&self) -> Vec<(&'static [Piece<Self::Ph>], Self::Col, Self::Reach)>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§