use std::collections::HashMap; use crate::{Colour, Colours}; pub(crate) trait Config { fn crate_prefix(&self) -> String; fn images(&self) -> HashMap; fn transparent_colour(&self) -> Option; } pub(crate) trait Image { fn filename(&self) -> String; fn colours(&self) -> Colours; }