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