LoginSignup
8
3

[Rust] isize、usizeとは

Last updated at Posted at 2020-06-19

参考

実践Rustプログラミング入門

結論

あなたのパソコンのCPUアーキテクチャに合ったビット分のサイズを取ってくれる整数型です。

例)

32bitのPC

isize = i32
usize = u32

64bitのPC

isize = i64
usize = u64

8
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3