fn literal<S>(&self, text: S) -> StyledIndexedSpan
    where
        S: Into<String>,
    {
        StyledIndexedSpan {
            content: IndexedCow::Owned(text.into()),
            attr: Style::merge(&self.stack),
        }
    }
/// Creates a new span with the given value
Creates a new span with the given value
Creates a new span with the given value
fn literal<S>(&self, text: S) -> StyledIndexedSpan
    where
        S: Into<String>,
    {
        StyledIndexedSpan {
            content: IndexedCow::Owned(text.into()),
            attr: Style::merge(&self.stack),
        }
    }
fn literal < S > ( & self , text : S ) -> StyledIndexedSpan where S : Into < String > , { StyledIndexedSpan { content : IndexedCow :: Owned ( text . into ( ) ) , attr : Style :: merge ( & self . stack ) , } }
Creates a new span with the given value
Creates a new span with the given value
&self
text
S
&self
text
S