Trait rbatis::BitAnd[][src]

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

Associated Types

The resulting type after applying the & operator.

Required methods

Performs the & operation.

Examples
assert_eq!(true & false, false);
assert_eq!(true & true, true);
assert_eq!(5u8 & 1u8, 1);
assert_eq!(5u8 & 2u8, 0);

Implementations on Foreign Types

Implementors