Skip to main content

StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required methods
    fn like(&self, pattern: &str, case_sensitive: bool) -> Result<bool>;
    fn regex(&self, pattern: &str, case_sensitive: bool) -> Result<bool>;
}

Required Methods§

Source

fn like(&self, pattern: &str, case_sensitive: bool) -> Result<bool>

Source

fn regex(&self, pattern: &str, case_sensitive: bool) -> Result<bool>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StringExt for str

Source§

fn like(&self, pattern: &str, case_sensitive: bool) -> Result<bool>

Source§

fn regex(&self, pattern: &str, case_sensitive: bool) -> Result<bool>

Implementors§