Skip to content

std::String::length<T>

length<T>

Returns the length of a C-style string

Template Parameters

  • T

Signature

fn length(str: const *T) -> usize requires <T>;

Specifiers

  • constexpr
  • inline