pub fn set_bit(byte: u8, n: u8) -> u8
Set bit n in a byte, returning the modified value.
n
flags = set_bit(flags, 0); // set the locked flag