length Returns the length of the slice Signature length(self) -> usize Specifiers const noexcept See Also Back to slice<Char, Traits>