Skip to main content

ColorScheme

Trait ColorScheme 

Source
pub trait ColorScheme {
    // Required method
    fn color(&self, view: &StructureView<'_>, i: usize) -> Color;
}

Required Methods§

Source

fn color(&self, view: &StructureView<'_>, i: usize) -> Color

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§