u8_nonzero

Function u8_nonzero 

Source
const fn u8_nonzero(x: u8) -> u8
Expand description

Returns 0xff if a != 0, 0 otherwise.