Bitwise rotation is performed in Rust using the << and >> operators.
For example, if we have a variable called x that is rotated 3 to the left, we will write x << 3 with 3 to the right being x >> 3.
Say we have x = 01101001, x << 3 will be 01001000 and x >> 3 will be 00001101.