Trait rbatis::BitOr[][src]

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

Associated Types

The resulting type after applying the | operator.

Required methods

Performs the | operation.

Examples
assert_eq!(true | false, true);
assert_eq!(false | false, false);
assert_eq!(5u8 | 1u8, 5);
assert_eq!(5u8 | 2u8, 7);

Implementations on Foreign Types

Implementors