Function eikon3ds_core::util::bit_manipulation::set_bit_16
source · pub fn set_bit_16(val: u16, bit_idx: i32, bit_val: bool) -> u16
Expand description
Sets the bit index to the bit value of a u16 integer.
pub fn set_bit_16(val: u16, bit_idx: i32, bit_val: bool) -> u16
Sets the bit index to the bit value of a u16 integer.