pub fn push(&mut self, string: &str) -> AttributesAdder {
        let range = self.buffer.len()..(self.buffer.len() + string.len());
        self.buffer.push_str(string);
        self.add_attributes_for_range(range)
    }
/// Append a `&str` to the end of the text.
///
/// This method returns a [`AttributesAdder`] that can be used to style the newly
/// added string slice.
Append a `&str` to the end of the text.
This method returns a [`AttributesAdder`] that can be used to style the newly
added string slice.
Append a ` &str ` to the end of the text . This method returns a [ ` AttributesAdder ` ] that can be used to style the newly added string slice .
pub fn push(&mut self, string: &str) -> AttributesAdder {
        let range = self.buffer.len()..(self.buffer.len() + string.len());
        self.buffer.push_str(string);
        self.add_attributes_for_range(range)
    }
pub fn push ( & mut self , string : & str ) -> AttributesAdder { let range = self . buffer . len ( ) .. ( self . buffer . len ( ) + string . len ( ) ) ; self . buffer . push_str ( string ) ; self . add_attributes_for_range ( range ) }
Append a `&str` to the end of the text.
Append a ` &str ` to the end of the text .
&mut self
string
&str
&mut self
string
&str