what are the equivalent types in rust?

Hello, could you help me? I would like to know how the equivalence of types in Rust is given with some simple example.

I'd recommend reading through The Rust Programming Language if you haven't already, it's a really good resource! In particular, this chapter of The Book goes through all the primitive data types (integers, floats, etc.).

To help wrap your head around mutability and pointer types, this table does a pretty good job.

One note about that table, you really shouldn't think in terms of mutability. Instead think in terms of uniqueness. Here is the blog post that i highly reccomend anyone who wants to understand Rust to read.



Thansks for the info. Its a good reference.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.