Skip to content

std::String::slice<Char, Traits>::operator[]

operator[]

Access character at index

Signature

op [](self, index: usize) -> CharT

Specifiers

  • const
  • noexcept

See Also

Back to slice<Char, Traits>