const fn channel_is_valid(mask: u32, shift: u8) -> boolExpand description
A channel is a contiguous run of ones at exactly shift. An empty mask
has no shift, and any other shift would make Format::pack overflow.
const fn channel_is_valid(mask: u32, shift: u8) -> boolA channel is a contiguous run of ones at exactly shift. An empty mask
has no shift, and any other shift would make Format::pack overflow.