Function u8bits::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’.