std::String::slice<Char, Traits>::size
size
Returns the length of the slice’s data, essential for bounds checking and iteration
Signature
size(self) -> size_tSpecifiers
constexprconstnoexcept
Attributes
nodiscard
sizeReturns the length of the slice’s data, essential for bounds checking and iteration
size(self) -> size_tconstexprconstnoexceptnodiscard