Skip to main content

choice_from_mask

Function choice_from_mask 

Source
pub(crate) const fn choice_from_mask(value: Word) -> Choice
Expand description

Returns the truthy value if value == Word::MAX, and the falsy value if value == 0.