Trait StrMethods

Source
pub trait StrMethods {
    // Required methods
    fn contains_str(self, s: &str) -> bool;
    fn starts_with(self, other: &str) -> bool;
    fn ends_with(self, other: &str) -> bool;
}
Expand description

string contains method

Required Methods§

Source

fn contains_str(self, s: &str) -> bool

Source

fn starts_with(self, other: &str) -> bool

Source

fn ends_with(self, other: &str) -> bool

Implementations on Foreign Types§

Source§

impl StrMethods for &&Value

Source§

fn contains_str(self, s: &str) -> bool

Source§

fn starts_with(self, other: &str) -> bool

Source§

fn ends_with(self, other: &str) -> bool

Source§

impl StrMethods for &Value

Source§

fn contains_str(self, s: &str) -> bool

Source§

fn starts_with(self, other: &str) -> bool

Source§

fn ends_with(self, other: &str) -> bool

Source§

impl StrMethods for Value

Source§

fn contains_str(self, s: &str) -> bool

Source§

fn starts_with(self, other: &str) -> bool

Source§

fn ends_with(self, other: &str) -> bool

Implementors§