pub fn display_text(&self) -> &str {
        match self {
            LabelText::Specific(s) => s.as_str(),
            LabelText::Localized(s) => s.localized_str(),
        }
    }
////
////impl<T: Data> LabelText<T> {
/// The text that should be displayed. This ensures that localized
/// strings are up to date.
impl LabelText {
The text that should be displayed. This ensures that localized
strings are up to date.
impl LabelText { The text that should be displayed . This ensures that localized strings are up to date .
pub fn display_text(&self) -> &str {
        match self {
            LabelText::Specific(s) => s.as_str(),
            LabelText::Localized(s) => s.localized_str(),
        }
    }
pub fn display_text ( & self ) -> & str { match self { LabelText :: Specific ( s ) => s . as_str ( ) , LabelText :: Localized ( s ) => s . localized_str ( ) , } }
impl<T: Data> LabelText<T> {
The text that should be displayed.
impl<T : Data > LabelText<T > { The text that should be displayed .
&self
&self