pub trait StringContain {
// Required methods
fn contains(self, other: &str) -> bool;
fn starts_with(self, other: &str) -> bool;
fn ends_with(self, other: &str) -> bool;
}Expand description
string contains method
pub trait StringContain {
// Required methods
fn contains(self, other: &str) -> bool;
fn starts_with(self, other: &str) -> bool;
fn ends_with(self, other: &str) -> bool;
}string contains method