Odak modu

Rust Fundamentals

Strings and Text

A String is a vector of data type u8. And it shows all vector properties while str is just a string expression.

To understand string and str differences in more detail, you can watch this video that explain the subject in detail here:

https://www.youtube.com/watch?v=ClPrjjHmo2Y 

Char is the type that holds 32-bit unicode of characters.

To understand chars in more detail, additional resource can be found here:

Video: https://www.youtube.com/watch?v=R4WvwhY-Km4 

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!