pub fn into_component(self) -> Component {
        match self {
            Self::Crate(s) => Component::Crate(s.into()),
            Self::Str(s) => Component::Str(s.into()),
            Self::Id(n) => Component::Id(n),
        }
    }
/// Convert into an owned component.
Convert into an owned component.
Convert into an owned component .
pub fn into_component(self) -> Component {
        match self {
            Self::Crate(s) => Component::Crate(s.into()),
            Self::Str(s) => Component::Str(s.into()),
            Self::Id(n) => Component::Id(n),
        }
    }
pub fn into_component ( self ) -> Component { match self { Self :: Crate ( s ) => Component :: Crate ( s . into ( ) ) , Self :: Str ( s ) => Component :: Str ( s . into ( ) ) , Self :: Id ( n ) => Component :: Id ( n ) , } }
Convert into an owned component.
Convert into an owned component .
self
self