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

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.

主站蜘蛛池模板: 且末县| 青川县| 伊宁市| 时尚| 万州区| 澳门| 灌云县| 阳朔县| 焉耆| 江川县| 新营市| 岳普湖县| 图木舒克市| 阿坝| 拉萨市| 天津市| 尼玛县| 广平县| 广灵县| 尼木县| 阳新县| 额尔古纳市| 五华县| 镇江市| 武强县| 淳安县| 武威市| 南充市| 长兴县| 高要市| 黎城县| 宁都县| 军事| 大方县| 泰州市| 宜兴市| 永登县| 麦盖提县| 太原市| 辽中县| 宜春市|