pub trait BitXor<Rhs = Self> {
    type Output;

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

Required Associated Types§

source

type Output

The resulting type after applying the ^ operator.

Required Methods§

source

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

Performs the ^ operation.

§Examples
assert_eq!(true ^ false, true);
assert_eq!(true ^ true, false);
assert_eq!(5u8 ^ 1u8, 4);
assert_eq!(5u8 ^ 2u8, 7);

Implementations on Foreign Types§

source§

impl BitXor for Value

§

type Output = Value

source§

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

source§

impl BitXor for i8

§

type Output = i8

source§

fn op_bitxor(self, rhs: i8) -> Self::Output

source§

impl BitXor for i16

§

type Output = i16

source§

fn op_bitxor(self, rhs: i16) -> Self::Output

source§

impl BitXor for i32

§

type Output = i32

source§

fn op_bitxor(self, rhs: i32) -> Self::Output

source§

impl BitXor for i64

§

type Output = i64

source§

fn op_bitxor(self, rhs: i64) -> Self::Output

source§

impl BitXor for isize

§

type Output = isize

source§

fn op_bitxor(self, rhs: isize) -> Self::Output

source§

impl BitXor for u8

§

type Output = u8

source§

fn op_bitxor(self, rhs: u8) -> Self::Output

source§

impl BitXor for u16

§

type Output = u16

source§

fn op_bitxor(self, rhs: u16) -> Self::Output

source§

impl BitXor for u32

§

type Output = u32

source§

fn op_bitxor(self, rhs: u32) -> Self::Output

source§

impl BitXor for u64

§

type Output = u64

source§

fn op_bitxor(self, rhs: u64) -> Self::Output

source§

impl BitXor<&&Value> for &Value

§

type Output = Value

source§

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

source§

impl BitXor<&&Value> for Value

§

type Output = Value

source§

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

source§

impl BitXor<&&Value> for f32

§

type Output = f64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for f64

§

type Output = f64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for i8

§

type Output = i64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for i16

§

type Output = i64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for i32

§

type Output = i64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for i64

§

type Output = i64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&&Value> for isize

§

type Output = i64

source§

fn op_bitxor(self, other: &&Value) -> Self::Output

source§

impl BitXor<&Value> for &Value

§

type Output = Value

source§

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

source§

impl BitXor<&Value> for &f32

§

type Output = f64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &f64

§

type Output = f64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &i8

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &i16

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &i32

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &i64

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for &isize

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for Value

§

type Output = Value

source§

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

source§

impl BitXor<&Value> for f32

§

type Output = f64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for f64

§

type Output = f64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for i8

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for i16

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for i32

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for i64

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&Value> for isize

§

type Output = i64

source§

fn op_bitxor(self, other: &Value) -> Self::Output

source§

impl BitXor<&f32> for Value

§

type Output = f64

source§

fn op_bitxor(self, other: &f32) -> Self::Output

source§

impl BitXor<&f64> for Value

§

type Output = f64

source§

fn op_bitxor(self, other: &f64) -> Self::Output

source§

impl BitXor<&i8> for &i8

§

type Output = i8

source§

fn op_bitxor(self, rhs: &i8) -> Self::Output

source§

impl BitXor<&i8> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i8) -> Self::Output

source§

impl BitXor<&i8> for i8

§

type Output = i8

source§

fn op_bitxor(self, rhs: &i8) -> Self::Output

source§

impl BitXor<&i16> for &i16

§

type Output = i16

source§

fn op_bitxor(self, rhs: &i16) -> Self::Output

source§

impl BitXor<&i16> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i16) -> Self::Output

source§

impl BitXor<&i16> for i16

§

type Output = i16

source§

fn op_bitxor(self, rhs: &i16) -> Self::Output

source§

impl BitXor<&i32> for &i32

§

type Output = i32

source§

fn op_bitxor(self, rhs: &i32) -> Self::Output

source§

impl BitXor<&i32> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i32) -> Self::Output

source§

impl BitXor<&i32> for i32

§

type Output = i32

source§

fn op_bitxor(self, rhs: &i32) -> Self::Output

source§

impl BitXor<&i64> for &i64

§

type Output = i64

source§

fn op_bitxor(self, rhs: &i64) -> Self::Output

source§

impl BitXor<&i64> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i64) -> Self::Output

source§

impl BitXor<&i64> for i64

§

type Output = i64

source§

fn op_bitxor(self, rhs: &i64) -> Self::Output

source§

impl BitXor<&isize> for &isize

§

type Output = isize

source§

fn op_bitxor(self, rhs: &isize) -> Self::Output

source§

impl BitXor<&isize> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: &isize) -> Self::Output

source§

impl BitXor<&isize> for isize

§

type Output = isize

source§

fn op_bitxor(self, rhs: &isize) -> Self::Output

source§

impl BitXor<&u8> for &u8

§

type Output = u8

source§

fn op_bitxor(self, rhs: &u8) -> Self::Output

source§

impl BitXor<&u8> for u8

§

type Output = u8

source§

fn op_bitxor(self, rhs: &u8) -> Self::Output

source§

impl BitXor<&u16> for &u16

§

type Output = u16

source§

fn op_bitxor(self, rhs: &u16) -> Self::Output

source§

impl BitXor<&u16> for u16

§

type Output = u16

source§

fn op_bitxor(self, rhs: &u16) -> Self::Output

source§

impl BitXor<&u32> for &u32

§

type Output = u32

source§

fn op_bitxor(self, rhs: &u32) -> Self::Output

source§

impl BitXor<&u32> for u32

§

type Output = u32

source§

fn op_bitxor(self, rhs: &u32) -> Self::Output

source§

impl BitXor<&u64> for &u64

§

type Output = u64

source§

fn op_bitxor(self, rhs: &u64) -> Self::Output

source§

impl BitXor<&u64> for u64

§

type Output = u64

source§

fn op_bitxor(self, rhs: &u64) -> Self::Output

source§

impl BitXor<Value> for &Value

§

type Output = Value

source§

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

source§

impl BitXor<Value> for &f32

§

type Output = f64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &f64

§

type Output = f64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &i8

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &i16

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &i32

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &i64

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for &isize

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for f32

§

type Output = f64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for f64

§

type Output = f64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for i8

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for i16

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for i32

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for i64

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<Value> for isize

§

type Output = i64

source§

fn op_bitxor(self, other: Value) -> Self::Output

source§

impl BitXor<f32> for Value

§

type Output = f64

source§

fn op_bitxor(self, other: f32) -> Self::Output

source§

impl BitXor<f64> for Value

§

type Output = f64

source§

fn op_bitxor(self, other: f64) -> Self::Output

source§

impl BitXor<i8> for &i8

§

type Output = i8

source§

fn op_bitxor(self, rhs: i8) -> Self::Output

source§

impl BitXor<i8> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: i8) -> Self::Output

source§

impl BitXor<i16> for &i16

§

type Output = i16

source§

fn op_bitxor(self, rhs: i16) -> Self::Output

source§

impl BitXor<i16> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: i16) -> Self::Output

source§

impl BitXor<i32> for &i32

§

type Output = i32

source§

fn op_bitxor(self, rhs: i32) -> Self::Output

source§

impl BitXor<i32> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: i32) -> Self::Output

source§

impl BitXor<i64> for &i64

§

type Output = i64

source§

fn op_bitxor(self, rhs: i64) -> Self::Output

source§

impl BitXor<i64> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: i64) -> Self::Output

source§

impl BitXor<isize> for &isize

§

type Output = isize

source§

fn op_bitxor(self, rhs: isize) -> Self::Output

source§

impl BitXor<isize> for Value

§

type Output = i64

source§

fn op_bitxor(self, other: isize) -> Self::Output

source§

impl BitXor<u8> for &u8

§

type Output = u8

source§

fn op_bitxor(self, rhs: u8) -> Self::Output

source§

impl BitXor<u16> for &u16

§

type Output = u16

source§

fn op_bitxor(self, rhs: u16) -> Self::Output

source§

impl BitXor<u32> for &u32

§

type Output = u32

source§

fn op_bitxor(self, rhs: u32) -> Self::Output

source§

impl BitXor<u64> for &u64

§

type Output = u64

source§

fn op_bitxor(self, rhs: u64) -> Self::Output

source§

impl<'a> BitXor<&f32> for &'a Value

§

type Output = f64

source§

fn op_bitxor(self, other: &f32) -> Self::Output

source§

impl<'a> BitXor<&f64> for &'a Value

§

type Output = f64

source§

fn op_bitxor(self, other: &f64) -> Self::Output

source§

impl<'a> BitXor<&i8> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i8) -> Self::Output

source§

impl<'a> BitXor<&i16> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i16) -> Self::Output

source§

impl<'a> BitXor<&i32> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i32) -> Self::Output

source§

impl<'a> BitXor<&i64> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: &i64) -> Self::Output

source§

impl<'a> BitXor<&isize> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: &isize) -> Self::Output

source§

impl<'a> BitXor<f32> for &'a Value

§

type Output = f64

source§

fn op_bitxor(self, other: f32) -> Self::Output

source§

impl<'a> BitXor<f64> for &'a Value

§

type Output = f64

source§

fn op_bitxor(self, other: f64) -> Self::Output

source§

impl<'a> BitXor<i8> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: i8) -> Self::Output

source§

impl<'a> BitXor<i16> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: i16) -> Self::Output

source§

impl<'a> BitXor<i32> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: i32) -> Self::Output

source§

impl<'a> BitXor<i64> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: i64) -> Self::Output

source§

impl<'a> BitXor<isize> for &'a Value

§

type Output = i64

source§

fn op_bitxor(self, other: isize) -> Self::Output

Implementors§