Function set_bit

Source
const fn set_bit(x: u128, bit: u32) -> u128
🔬This is a nightly-only experimental API. (stdarch_internal)
Expand description

Sets the bit of x.