Function abi_stable::sabi_types::bitarray::bool_to_enum
source · pub const fn bool_to_enum<E>(b: bool) -> Ewhere
E: BooleanEnum,
Expand description
Converts a bool to a BooleanEnum
.
Converts true
to BooleanEnum::TRUE
,
and false
to BooleanEnum::FALSE
,