pub trait StringManipulation {
    // Required methods
    fn match_regex(&self, regex: &Primitive) -> Self;
    fn is_match(&self, regex: &Primitive) -> Self;
    fn replace(&self, regex: &Primitive, new_value: &Primitive) -> Self;
    fn replace_all(&self, regex: &Primitive, new_value: &Primitive) -> Self;
    fn to_upper(&self) -> Self;
    fn to_lower(&self) -> Self;
    fn capitalize(&self) -> Self;
}

Required Methods§

source

fn match_regex(&self, regex: &Primitive) -> Self

source

fn is_match(&self, regex: &Primitive) -> Self

source

fn replace(&self, regex: &Primitive, new_value: &Primitive) -> Self

source

fn replace_all(&self, regex: &Primitive, new_value: &Primitive) -> Self

source

fn to_upper(&self) -> Self

source

fn to_lower(&self) -> Self

source

fn capitalize(&self) -> Self

Object Safety§

This trait is not object safe.

Implementors§