pub fn extend_str(&mut self, s: &str) {
        if self.ascii_len == self.len() {
            self.ascii_len += compute_ascii_len(s.as_bytes());
        }
        self.bytes.extend_from_slice(s.as_bytes());
        self.debug_validate();
    }
/// Extends a string to the end of this byte string.
Extends a string to the end of this byte string.
Extends a string to the end of this byte string .
pub fn extend_str(&mut self, s: &str) {
        if self.ascii_len == self.len() {
            self.ascii_len += compute_ascii_len(s.as_bytes());
        }
        self.bytes.extend_from_slice(s.as_bytes());
        self.debug_validate();
    }
pub fn extend_str ( & mut self , s : & str ) { if self . ascii_len == self . len ( ) { self . ascii_len += compute_ascii_len ( s . as_bytes ( ) ) ; } self . bytes . extend_from_slice ( s . as_bytes ( ) ) ; self . debug_validate ( ) ; }
Extends a string to the end of this byte string.
Extends a string to the end of this byte string .
&mut self
s
&str
&mut self
s
&str