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§
fn like(&self, pattern: &str, case_sensitive: bool) -> Result<bool>
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".