proptest::bits::u16

Function masked

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

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