Check out example codes for "rust types". It will help you in understanding the concepts better.

Code Example 1

//Integer types:
Length		Signed		Unsigned
8-bit		i8			u8
16-bit		i16			u16
32-bit		i32			u32
64-bit		i64			u64
128-bit		i128		u128
arch		isize		usize

Learn ReactJs, React Native from akashmittal.com