/// Takes a string and a list of attributes
Takes a string and a list of attributes
Takes a string and a list of attributes
pub fn new<S, A>(string: S, attributes: A) -> Self
    where
        S: Into<Cow<'a, str>>,
        A: Into<Vec<Attribute>>,
    {
        Self {
            string: string.into(),
            attributes: attributes.into(),
        }
    }
pub fn new < S , A > ( string : S , attributes : A ) -> Self where S : Into < Cow < ' a , str > > , A : Into < Vec < Attribute > > , { Self { string : string . into ( ) , attributes : attributes . into ( ) , } }
Takes a string and a list of attributes
Takes a string and a list of attributes
string
S
attributes
A