starts_with Checks if slice starts with needle Signature starts_with(self, needle: slice&) -> bool Specifiers const See Also Back to slice<Char, Traits>