Pass deduplicate one step further

This commit is contained in:
Gwilym Inzani 2023-08-29 13:18:14 +01:00
parent 8158bc1ff3
commit f097e152cc
2 changed files with 5 additions and 0 deletions

View file

@ -11,4 +11,5 @@ pub(crate) trait Config {
pub(crate) trait Image {
fn filename(&self) -> String;
fn colours(&self) -> Colours;
fn deduplicate(&self) -> bool;
}

View file

@ -47,6 +47,10 @@ impl config::Image for BackgroundGfxOption {
fn colours(&self) -> Colours {
self.colours
}
fn deduplicate(&self) -> bool {
self.deduplicate
}
}
impl Parse for BackgroundGfxOption {