Trait opencv_binding_generator::StringExt
source · pub trait StringExt {
// Required methods
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 extend_sep(&mut self, sep: &str, s: &str);
fn push_indented_str(&mut self, indent: Indent, val: &str);
fn bump_counter(&mut self);
fn cleanup_name(&mut self);
}
Required Methods§
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 extend_sep(&mut self, sep: &str, s: &str)
fn push_indented_str(&mut self, indent: Indent, val: &str)
fn bump_counter(&mut self)
fn cleanup_name(&mut self)
Object Safety§
This trait is not object safe.