Trait opencv_binding_generator::StringExt[][src]

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); }

Required methods

fn replacen_in_place(&mut self, from: &str, limit: usize, to: &str) -> bool[src]

fn replace_in_place(&mut self, from: &str, to: &str) -> bool[src]

fn replacen_in_place_regex(
    &mut self,
    from: &Regex,
    limit: usize,
    to: &str
) -> bool
[src]

fn replace_in_place_regex(&mut self, from: &Regex, to: &str) -> bool[src]

fn replacen_in_place_regex_cb<'a>(
    &mut self,
    from: &Regex,
    limit: usize,
    replacer: impl FnMut(&str, &CaptureLocations) -> Option<Cow<'a, str>> + 'a
) -> bool
[src]

fn replace_in_place_regex_cb<'a>(
    &mut self,
    from: &Regex,
    replacer: impl FnMut(&str, &CaptureLocations) -> Option<Cow<'a, str>> + 'a
) -> bool
[src]

fn extend_join(&mut self, it: impl Iterator<Item = impl AsRef<str>>, sep: &str)[src]

fn push_indented_str(&mut self, indent: Indent, val: &str)[src]

fn bump_counter(&mut self)[src]

fn cleanup_name(&mut self)[src]

Loading content...

Implementations on Foreign Types

impl StringExt for String[src]

Loading content...

Implementors

Loading content...