pub trait StringBuilder<'s> {
// Required methods
fn clear(&mut self);
fn push_str(&mut self, append: &'s str) -> bool;
fn push_char(&mut self, append: char) -> bool;
}
Required Methods§
fn clear(&mut self)
fn push_str(&mut self, append: &'s str) -> bool
fn push_char(&mut self, append: char) -> bool
Implementations on Foreign Types§
Source§impl<'s> StringBuilder<'s> for &'s str
impl<'s> StringBuilder<'s> for &'s str
Source§impl<'s> StringBuilder<'s> for Cow<'s, str>
Available on crate feature alloc
only.
impl<'s> StringBuilder<'s> for Cow<'s, str>
Available on crate feature
alloc
only.Source§impl<'s> StringBuilder<'s> for ()
impl<'s> StringBuilder<'s> for ()
Source§impl<'s> StringBuilder<'s> for String
Available on crate feature alloc
only.
impl<'s> StringBuilder<'s> for String
Available on crate feature
alloc
only.