proptest::bits::u8

Function masked

Source
pub fn masked(mask: u8) -> BitSetStrategy<u8>
Expand description

Generates values where any bits set in mask (and no others) may be set.