Trait ibig::AndNot[][src]

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

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

Loading content...

Required methods

fn and_not(self, rhs: Rhs) -> Self::Output[src]

Loading content...

Implementors

impl AndNot<&'_ IBig> for &IBig[src]

type Output = IBig

impl AndNot<&'_ IBig> for IBig[src]

type Output = IBig

impl AndNot<&'_ UBig> for &UBig[src]

type Output = UBig

impl AndNot<&'_ UBig> for UBig[src]

type Output = UBig

impl AndNot<IBig> for &IBig[src]

type Output = IBig

impl AndNot<IBig> for IBig[src]

type Output = IBig

impl AndNot<UBig> for &UBig[src]

type Output = UBig

impl AndNot<UBig> for UBig[src]

type Output = UBig

Loading content...