Rust [Rust]count()で文字列(string)の長さ(文字数)を取得するには? count()を使って文字列(string)の長さ(文字数)を取得する方法を紹介します。 Rustプログラミング・IT