Trait rbatis_codegen::ops::BitOr

source ·
pub trait BitOr<Rhs = Self> {
    type Output;

    // Required method
    fn op_bitor(self, rhs: Rhs) -> Self::Output;
}

Required Associated Types§

source

type Output

The resulting type after applying the | operator.

Required Methods§

source

fn op_bitor(self, rhs: Rhs) -> Self::Output

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§

source§

impl BitOr<&&Value> for Value

§

type Output = bool

source§

fn op_bitor(self, rhs: &&Value) -> Self::Output

source§

impl BitOr<&Value> for bool

§

type Output = bool

source§

fn op_bitor(self, rhs: &Value) -> Self::Output

source§

impl BitOr<Value> for Value

§

type Output = bool

source§

fn op_bitor(self, rhs: Self) -> Self::Output

source§

impl BitOr<Value> for &Value

§

type Output = bool

source§

fn op_bitor(self, rhs: Value) -> Self::Output

source§

impl BitOr<&&Value> for &Value

§

type Output = bool

source§

fn op_bitor(self, rhs: &&Value) -> Self::Output

source§

impl BitOr<&Value> for &Value

§

type Output = bool

source§

fn op_bitor(self, rhs: &Value) -> Self::Output

source§

impl BitOr<&Value> for Value

§

type Output = bool

source§

fn op_bitor(self, rhs: &Value) -> Self::Output

source§

impl BitOr<Value> for bool

§

type Output = bool

source§

fn op_bitor(self, rhs: Value) -> Self::Output

source§

impl BitOr<&&Value> for bool

§

type Output = bool

source§

fn op_bitor(self, rhs: &&Value) -> Self::Output

source§

impl BitOr<bool> for &Value

§

type Output = bool

source§

fn op_bitor(self, rhs: bool) -> Self::Output

Implementors§