sp_display_bit_vec_set

Function sp_display_bit_vec_set 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sp_display_bit_vec_set( instance: NonNull<DisplayBitVec>, index: usize, value: bool, )
Expand description

Calls method [DisplayBitVec::set].

Sets the value of a bit.

§Arguments

  • index: the bit index to edit
  • value: the value to set the bit to

§Panics

  • when accessing index out of bounds

This function is part of the display_bit_vec module.