pub trait StrAssertions<T> {
    fn starts_with<E: AsRef<str>>(&mut self, expected: E);
    fn ends_with<E: AsRef<str>>(&mut self, expected: E);
    fn contains<E: AsRef<str>>(&mut self, expected: E);
    fn does_not_contain<E: AsRef<str>>(&mut self, expected: E);
    fn is_empty(&mut self);
}

Required Methods

Implementors