pub fn name(&self) -> Cow<'_, str> {
        match self {
            Component::BlankSpace(component) => component.name().into(),
            Component::CurrentComparison(component) => component.name().into(),
            Component::CurrentPace(component) => component.name(),
            Component::Delta(component) => component.name(),
            Component::DetailedTimer(component) => component.name().into(),
            Component::Graph(component) => component.name(),
            Component::PbChance(component) => component.name().into(),
            Component::PossibleTimeSave(component) => component.name(),
            Component::PreviousSegment(component) => component.name(),
            Component::SegmentTime(component) => component.name(),
            Component::Separator(component) => component.name().into(),
            Component::Splits(component) => component.name().into(),
            Component::SumOfBest(component) => component.name().into(),
            Component::Text(component) => component.name(),
            Component::Timer(component) => component.name().into(),
            Component::Title(component) => component.name().into(),
            Component::TotalPlaytime(component) => component.name().into(),
        }
    }
/// Accesses the name of the component.
Accesses the name of the component.
Accesses the name of the component .
pub fn name(&self) -> Cow<'_, str> {
        match self {
            Component::BlankSpace(component) => component.name().into(),
            Component::CurrentComparison(component) => component.name().into(),
            Component::CurrentPace(component) => component.name(),
            Component::Delta(component) => component.name(),
            Component::DetailedTimer(component) => component.name().into(),
            Component::Graph(component) => component.name(),
            Component::PbChance(component) => component.name().into(),
            Component::PossibleTimeSave(component) => component.name(),
            Component::PreviousSegment(component) => component.name(),
            Component::SegmentTime(component) => component.name(),
            Component::Separator(component) => component.name().into(),
            Component::Splits(component) => component.name().into(),
            Component::SumOfBest(component) => component.name().into(),
            Component::Text(component) => component.name(),
            Component::Timer(component) => component.name().into(),
            Component::Title(component) => component.name().into(),
            Component::TotalPlaytime(component) => component.name().into(),
        }
    }
pub fn name ( & self ) -> Cow < ' _ , str > { match self { Component :: BlankSpace ( component ) => component . name ( ) . into ( ) , Component :: CurrentComparison ( component ) => component . name ( ) . into ( ) , Component :: CurrentPace ( component ) => component . name ( ) , Component :: Delta ( component ) => component . name ( ) , Component :: DetailedTimer ( component ) => component . name ( ) . into ( ) , Component :: Graph ( component ) => component . name ( ) , Component :: PbChance ( component ) => component . name ( ) . into ( ) , Component :: PossibleTimeSave ( component ) => component . name ( ) , Component :: PreviousSegment ( component ) => component . name ( ) , Component :: SegmentTime ( component ) => component . name ( ) , Component :: Separator ( component ) => component . name ( ) . into ( ) , Component :: Splits ( component ) => component . name ( ) . into ( ) , Component :: SumOfBest ( component ) => component . name ( ) . into ( ) , Component :: Text ( component ) => component . name ( ) , Component :: Timer ( component ) => component . name ( ) . into ( ) , Component :: Title ( component ) => component . name ( ) . into ( ) , Component :: TotalPlaytime ( component ) => component . name ( ) . into ( ) , } }
Accesses the name of the component.
Accesses the name of the component .
&self
&self