/// Gets the correct translation for a given label.
Gets the correct translation for a given label.
Gets the correct translation for a given label .
fn label(&self, label: &Translation) -> &str {
        match self.language {
            Language::German => label.de,
            Language::English => label.en,
            Language::French => label.fr,
            Language::Italian => label.it,
        }
    }
fn label ( & self , label : & Translation ) -> & str { match self . language { Language :: German => label . de , Language :: English => label . en , Language :: French => label . fr , Language :: Italian => label . it , } }
Gets the correct translation for a given label.
Gets the correct translation for a given label .
&self
label
&Translation