Trait fastanvil::Palette[][src]

pub trait Palette {
    fn pick(&self, block: &Block, biome: Option<Biome>) -> Rgba;
}
Expand description

Palette can be used to take a block description to produce a colour that it should render to.

Required methods

Implementors