set_bit

Function set_bit 

Source
pub fn set_bit(b: &mut u8, pos: u8, value: bool)
Expand description

Set the bit at position ‘pos’ of byte ‘b’.