Trait BitXor

Source
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

Source§

type Output = Value

Source§

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

Source§

impl BitXor for i8

Source§

type Output = i8

Source§

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

Source§

impl BitXor for i16

Source§

type Output = i16

Source§

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

Source§

impl BitXor for i32

Source§

type Output = i32

Source§

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

Source§

impl BitXor for i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor for isize

Source§

type Output = isize

Source§

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

Source§

impl BitXor for u8

Source§

type Output = u8

Source§

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

Source§

impl BitXor for u16

Source§

type Output = u16

Source§

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

Source§

impl BitXor for u32

Source§

type Output = u32

Source§

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

Source§

impl BitXor for u64

Source§

type Output = u64

Source§

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

Source§

impl BitXor for usize

Source§

type Output = usize

Source§

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

Source§

impl BitXor<&&Value> for &Value

Source§

type Output = Value

Source§

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

Source§

impl BitXor<&&Value> for Value

Source§

type Output = Value

Source§

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

Source§

impl BitXor<&&Value> for f32

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&&Value> for f64

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&&Value> for i8

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&&Value> for i16

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&&Value> for i32

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&&Value> for i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&&Value> for isize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&&Value> for usize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &Value

Source§

type Output = Value

Source§

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

Source§

impl BitXor<&Value> for &f32

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&Value> for &f64

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&Value> for &i8

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &i16

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &i32

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &isize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for &usize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for Value

Source§

type Output = Value

Source§

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

Source§

impl BitXor<&Value> for f32

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&Value> for f64

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&Value> for i8

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for i16

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for i32

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for isize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&Value> for usize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&f32> for Value

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&f64> for Value

Source§

type Output = f64

Source§

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

Source§

impl BitXor<&i8> for &i8

Source§

type Output = i8

Source§

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

Source§

impl BitXor<&i8> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&i8> for i8

Source§

type Output = i8

Source§

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

Source§

impl BitXor<&i16> for &i16

Source§

type Output = i16

Source§

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

Source§

impl BitXor<&i16> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&i16> for i16

Source§

type Output = i16

Source§

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

Source§

impl BitXor<&i32> for &i32

Source§

type Output = i32

Source§

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

Source§

impl BitXor<&i32> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&i32> for i32

Source§

type Output = i32

Source§

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

Source§

impl BitXor<&i64> for &i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&i64> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&i64> for i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&isize> for &isize

Source§

type Output = isize

Source§

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

Source§

impl BitXor<&isize> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&isize> for isize

Source§

type Output = isize

Source§

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

Source§

impl BitXor<&u8> for &u8

Source§

type Output = u8

Source§

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

Source§

impl BitXor<&u8> for u8

Source§

type Output = u8

Source§

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

Source§

impl BitXor<&u16> for &u16

Source§

type Output = u16

Source§

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

Source§

impl BitXor<&u16> for u16

Source§

type Output = u16

Source§

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

Source§

impl BitXor<&u32> for &u32

Source§

type Output = u32

Source§

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

Source§

impl BitXor<&u32> for u32

Source§

type Output = u32

Source§

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

Source§

impl BitXor<&u64> for &u64

Source§

type Output = u64

Source§

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

Source§

impl BitXor<&u64> for u64

Source§

type Output = u64

Source§

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

Source§

impl BitXor<&usize> for &usize

Source§

type Output = usize

Source§

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

Source§

impl BitXor<&usize> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<&usize> for usize

Source§

type Output = usize

Source§

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

Source§

impl BitXor<Value> for &Value

Source§

type Output = Value

Source§

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

Source§

impl BitXor<Value> for &f32

Source§

type Output = f64

Source§

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

Source§

impl BitXor<Value> for &f64

Source§

type Output = f64

Source§

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

Source§

impl BitXor<Value> for &i8

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for &i16

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for &i32

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for &i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for &isize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for &usize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for f32

Source§

type Output = f64

Source§

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

Source§

impl BitXor<Value> for f64

Source§

type Output = f64

Source§

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

Source§

impl BitXor<Value> for i8

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for i16

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for i32

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for isize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<Value> for usize

Source§

type Output = i64

Source§

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

Source§

impl BitXor<f32> for Value

Source§

type Output = f64

Source§

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

Source§

impl BitXor<f64> for Value

Source§

type Output = f64

Source§

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

Source§

impl BitXor<i8> for &i8

Source§

type Output = i8

Source§

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

Source§

impl BitXor<i8> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<i16> for &i16

Source§

type Output = i16

Source§

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

Source§

impl BitXor<i16> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<i32> for &i32

Source§

type Output = i32

Source§

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

Source§

impl BitXor<i32> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<i64> for &i64

Source§

type Output = i64

Source§

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

Source§

impl BitXor<i64> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<isize> for &isize

Source§

type Output = isize

Source§

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

Source§

impl BitXor<isize> for Value

Source§

type Output = i64

Source§

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

Source§

impl BitXor<u8> for &u8

Source§

type Output = u8

Source§

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

Source§

impl BitXor<u16> for &u16

Source§

type Output = u16

Source§

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

Source§

impl BitXor<u32> for &u32

Source§

type Output = u32

Source§

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

Source§

impl BitXor<u64> for &u64

Source§

type Output = u64

Source§

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

Source§

impl BitXor<usize> for &usize

Source§

type Output = usize

Source§

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

Source§

impl BitXor<usize> for Value

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = f64

Source§

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

Source§

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

Source§

type Output = f64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = f64

Source§

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

Source§

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

Source§

type Output = f64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Source§

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

Source§

type Output = i64

Source§

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

Implementors§