pub trait ShouldStartWithString {
    // Required methods
    fn should_start_with(&self, expected: impl Into<String>);
    fn should_not_start_with(&self, expected: impl Into<String>);
    fn should_end_with(&self, expected: impl Into<String>);
    fn should_not_end_with(&self, expected: impl Into<String>);
}

Required Methods§

source

fn should_start_with(&self, expected: impl Into<String>)

source

fn should_not_start_with(&self, expected: impl Into<String>)

source

fn should_end_with(&self, expected: impl Into<String>)

source

fn should_not_end_with(&self, expected: impl Into<String>)

Implementations on Foreign Types§

source§

impl ShouldStartWithString for str

source§

fn should_start_with(&self, expected: impl Into<String>)

source§

fn should_not_start_with(&self, expected: impl Into<String>)

source§

fn should_end_with(&self, expected: impl Into<String>)

source§

fn should_not_end_with(&self, expected: impl Into<String>)

Implementors§