官术网_书友最值得收藏!

Integer types

The following integer types are available in Rust:

The u means unsigned, while the i means signed, and the number following it is the number of bits. For instance, a number of the u8 type can be between 0 and 255, inclusive. And a number of the i16 type can be between -32768 and 32767, inclusive. The size variants are the pointer-sized integer types: usize and isize are 64-bit on a 64-bit CPU. The default integer type is i32, which means that this type will be used by the type inference when it cannot choose a more specific type.

主站蜘蛛池模板: 黑山县| 边坝县| 博客| 宜兰市| 竹山县| 泾源县| 右玉县| 吴川市| 新龙县| 子长县| 金昌市| 和田县| 大竹县| 南雄市| 中方县| 红原县| 宿迁市| 宣武区| 旬邑县| 沂南县| 通化县| 侯马市| 广南县| 盐城市| 富源县| 象山县| 苍溪县| 岑巩县| 肇源县| 瓮安县| 垣曲县| 灌阳县| 八宿县| 木里| 嘉黎县| 大丰市| 巩义市| 安化县| 天峨县| 大关县| 韩城市|