size
Returns the length of the slice’s data, essential for bounds checking and iteration
Signature
size(self) -> size_t
Specifiers
constexprconstnoexcept
Attributes
nodiscard
sizeReturns the length of the slice’s data, essential for bounds checking and iteration
size(self) -> size_t
constexprconstnoexceptnodiscard