Trait ibig::ops::AndNot[][src]

pub trait AndNot<Rhs = Self> {
    type Output;
    fn and_not(self, rhs: Rhs) -> Self::Output;
}
Expand description

Bitwise AND NOT operation.

x.and_not(y) is equivalent to x & !y. For UBig the latter is not a valid expression because the ! operator is not defined.

Examples

assert_eq!(ubig!(0xff).and_not(ubig!(0x1111)), ubig!(0xee));

Associated Types

Required methods

Implementors