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_t
Specifiers
constexpr
const
noexcept
Attributes
nodiscard
size
Returns the length of the slice’s data, essential for bounds checking and iteration
size(self) -> size_t
constexpr
const
noexcept
nodiscard