pub trait StringExt {
fn replacen_in_place(&mut self, from: &str, limit: usize, to: &str) -> bool;
fn replace_in_place(&mut self, from: &str, to: &str) -> bool;
fn replacen_in_place_regex(
&mut self,
from: &Regex,
limit: usize,
to: &str
) -> bool;
fn replace_in_place_regex(&mut self, from: &Regex, to: &str) -> bool;
fn replacen_in_place_regex_cb<'a>(
&mut self,
from: &Regex,
limit: usize,
replacer: impl FnMut(&str, &CaptureLocations) -> Option<Cow<'a, str>> + 'a
) -> bool;
fn replace_in_place_regex_cb<'a>(
&mut self,
from: &Regex,
replacer: impl FnMut(&str, &CaptureLocations) -> Option<Cow<'a, str>> + 'a
) -> bool;
fn extend_join(
&mut self,
it: impl Iterator<Item = impl AsRef<str>>,
sep: &str
);
fn push_indented_str(&mut self, indent: Indent, val: &str);
fn bump_counter(&mut self);
fn cleanup_name(&mut self);
}