[−][src]Trait bitintr::Blsr
Resets lowest set bit.
Required methods
fn blsr(self) -> Self
Resets the lowest set bit of self
.
Panics
If self
is zero the behavior is undefined. Panics if -C debug-assertions=1
.
Instructions
BLSR
:- Description: Reset lowest set bit.
- Architecture: x86.
- Instruction set: BMI.
- Registers: 32/64 bit.
Example
assert_eq!(0b0011_0000u8.blsr(), 0b0010_0000u8);