[][src]Trait opencv_binding_generator::StringExt

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

Required methods

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

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

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

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

pub 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]

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

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

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

pub fn bump_counter(&mut self)[src]

pub fn cleanup_name(&mut self)[src]

Loading content...

Implementations on Foreign Types

impl StringExt for String[src]

Loading content...

Implementors

Loading content...