Trait PartialEq

Source
pub trait PartialEq<Rhs: ?Sized = Self> {
    // Required method
    fn op_eq(&self, other: &Rhs) -> bool;

    // Provided method
    fn op_ne(&self, other: &Rhs) -> bool { ... }
}

Required Methods§

Source

fn op_eq(&self, other: &Rhs) -> bool

This method tests for self and other values to be equal, and is used by ==.

Provided Methods§

Source

fn op_ne(&self, other: &Rhs) -> bool

This method tests for !=.

Implementations on Foreign Types§

Source§

impl PartialEq for Value

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq for f32

Source§

fn op_eq(&self, rhs: &f32) -> bool

Source§

impl PartialEq for f64

Source§

fn op_eq(&self, rhs: &f64) -> bool

Source§

impl PartialEq for i8

Source§

fn op_eq(&self, rhs: &i8) -> bool

Source§

impl PartialEq for i16

Source§

fn op_eq(&self, rhs: &i16) -> bool

Source§

impl PartialEq for i32

Source§

fn op_eq(&self, rhs: &i32) -> bool

Source§

impl PartialEq for i64

Source§

fn op_eq(&self, rhs: &i64) -> bool

Source§

impl PartialEq for isize

Source§

fn op_eq(&self, rhs: &isize) -> bool

Source§

impl PartialEq for u8

Source§

fn op_eq(&self, rhs: &u8) -> bool

Source§

impl PartialEq for u16

Source§

fn op_eq(&self, rhs: &u16) -> bool

Source§

impl PartialEq for u32

Source§

fn op_eq(&self, rhs: &u32) -> bool

Source§

impl PartialEq for u64

Source§

fn op_eq(&self, rhs: &u64) -> bool

Source§

impl PartialEq for String

Source§

fn op_eq(&self, rhs: &String) -> bool

Source§

impl PartialEq<&&&str> for bool

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for f32

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for f64

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for i8

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for i16

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for i32

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for i64

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for isize

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for u8

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for u16

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for u32

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&&str> for u64

Source§

fn op_eq(&self, other: &&&&str) -> bool

Source§

impl PartialEq<&&Value> for &Value

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for Value

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for bool

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for f32

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for f64

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for i8

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for i16

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for i32

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for i64

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for isize

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for u8

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for u16

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for u32

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&Value> for u64

Source§

fn op_eq(&self, other: &&&Value) -> bool

Source§

impl PartialEq<&&str> for &&str

Source§

fn op_eq(&self, rhs: &&&str) -> bool

Source§

impl PartialEq<&&str> for &str

Source§

fn op_eq(&self, rhs: &&&str) -> bool

Source§

impl PartialEq<&&str> for bool

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for f32

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for f64

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for i8

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for i16

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for i32

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for i64

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for isize

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for u8

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for u16

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for u32

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&&str> for u64

Source§

fn op_eq(&self, other: &&&str) -> bool

Source§

impl PartialEq<&Value> for &Value

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for Value

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for bool

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for f32

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for f64

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for i8

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for i16

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for i32

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for i64

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for isize

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for u8

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for u16

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for u32

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&Value> for u64

Source§

fn op_eq(&self, other: &&Value) -> bool

Source§

impl PartialEq<&f32> for &f32

Source§

fn op_eq(&self, rhs: &&f32) -> bool

Source§

impl PartialEq<&f32> for f32

Source§

fn op_eq(&self, rhs: &&f32) -> bool

Source§

impl PartialEq<&f64> for &f64

Source§

fn op_eq(&self, rhs: &&f64) -> bool

Source§

impl PartialEq<&f64> for f64

Source§

fn op_eq(&self, rhs: &&f64) -> bool

Source§

impl PartialEq<&i8> for &i8

Source§

fn op_eq(&self, rhs: &&i8) -> bool

Source§

impl PartialEq<&i8> for i8

Source§

fn op_eq(&self, rhs: &&i8) -> bool

Source§

impl PartialEq<&i16> for &i16

Source§

fn op_eq(&self, rhs: &&i16) -> bool

Source§

impl PartialEq<&i16> for i16

Source§

fn op_eq(&self, rhs: &&i16) -> bool

Source§

impl PartialEq<&i32> for &i32

Source§

fn op_eq(&self, rhs: &&i32) -> bool

Source§

impl PartialEq<&i32> for i32

Source§

fn op_eq(&self, rhs: &&i32) -> bool

Source§

impl PartialEq<&i64> for &i64

Source§

fn op_eq(&self, rhs: &&i64) -> bool

Source§

impl PartialEq<&i64> for i64

Source§

fn op_eq(&self, rhs: &&i64) -> bool

Source§

impl PartialEq<&isize> for &isize

Source§

fn op_eq(&self, rhs: &&isize) -> bool

Source§

impl PartialEq<&isize> for isize

Source§

fn op_eq(&self, rhs: &&isize) -> bool

Source§

impl PartialEq<&str> for &&str

Source§

fn op_eq(&self, rhs: &&str) -> bool

Source§

impl PartialEq<&str> for &str

Source§

fn op_eq(&self, rhs: &&str) -> bool

Source§

impl PartialEq<&str> for bool

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for f32

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for f64

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for i8

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for i16

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for i32

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for i64

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for isize

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for str

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for u8

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for u16

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for u32

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&str> for u64

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl PartialEq<&u8> for &u8

Source§

fn op_eq(&self, rhs: &&u8) -> bool

Source§

impl PartialEq<&u8> for u8

Source§

fn op_eq(&self, rhs: &&u8) -> bool

Source§

impl PartialEq<&u16> for &u16

Source§

fn op_eq(&self, rhs: &&u16) -> bool

Source§

impl PartialEq<&u16> for u16

Source§

fn op_eq(&self, rhs: &&u16) -> bool

Source§

impl PartialEq<&u32> for &u32

Source§

fn op_eq(&self, rhs: &&u32) -> bool

Source§

impl PartialEq<&u32> for u32

Source§

fn op_eq(&self, rhs: &&u32) -> bool

Source§

impl PartialEq<&u64> for &u64

Source§

fn op_eq(&self, rhs: &&u64) -> bool

Source§

impl PartialEq<&u64> for u64

Source§

fn op_eq(&self, rhs: &&u64) -> bool

Source§

impl PartialEq<&String> for &String

Source§

fn op_eq(&self, rhs: &&String) -> bool

Source§

impl PartialEq<&String> for String

Source§

fn op_eq(&self, rhs: &&String) -> bool

Source§

impl PartialEq<Value> for &&Value

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for &Value

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for bool

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for f32

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for f64

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for i8

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for i16

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for i32

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for i64

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for isize

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for str

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for u8

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for u16

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for u32

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for u64

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<Value> for String

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl PartialEq<bool> for &str

Source§

fn op_eq(&self, other: &bool) -> bool

Source§

impl PartialEq<bool> for Value

Source§

fn op_eq(&self, other: &bool) -> bool

Source§

impl PartialEq<f32> for &f32

Source§

fn op_eq(&self, rhs: &f32) -> bool

Source§

impl PartialEq<f32> for &str

Source§

fn op_eq(&self, other: &f32) -> bool

Source§

impl PartialEq<f32> for Value

Source§

fn op_eq(&self, other: &f32) -> bool

Source§

impl PartialEq<f64> for &f64

Source§

fn op_eq(&self, rhs: &f64) -> bool

Source§

impl PartialEq<f64> for &str

Source§

fn op_eq(&self, other: &f64) -> bool

Source§

impl PartialEq<f64> for Value

Source§

fn op_eq(&self, other: &f64) -> bool

Source§

impl PartialEq<i8> for &i8

Source§

fn op_eq(&self, rhs: &i8) -> bool

Source§

impl PartialEq<i8> for &str

Source§

fn op_eq(&self, other: &i8) -> bool

Source§

impl PartialEq<i8> for Value

Source§

fn op_eq(&self, other: &i8) -> bool

Source§

impl PartialEq<i16> for &i16

Source§

fn op_eq(&self, rhs: &i16) -> bool

Source§

impl PartialEq<i16> for &str

Source§

fn op_eq(&self, other: &i16) -> bool

Source§

impl PartialEq<i16> for Value

Source§

fn op_eq(&self, other: &i16) -> bool

Source§

impl PartialEq<i32> for &i32

Source§

fn op_eq(&self, rhs: &i32) -> bool

Source§

impl PartialEq<i32> for &str

Source§

fn op_eq(&self, other: &i32) -> bool

Source§

impl PartialEq<i32> for Value

Source§

fn op_eq(&self, other: &i32) -> bool

Source§

impl PartialEq<i64> for &i64

Source§

fn op_eq(&self, rhs: &i64) -> bool

Source§

impl PartialEq<i64> for &str

Source§

fn op_eq(&self, other: &i64) -> bool

Source§

impl PartialEq<i64> for Value

Source§

fn op_eq(&self, other: &i64) -> bool

Source§

impl PartialEq<isize> for &isize

Source§

fn op_eq(&self, rhs: &isize) -> bool

Source§

impl PartialEq<isize> for &str

Source§

fn op_eq(&self, other: &isize) -> bool

Source§

impl PartialEq<isize> for Value

Source§

fn op_eq(&self, other: &isize) -> bool

Source§

impl PartialEq<str> for Value

Source§

fn op_eq(&self, other: &str) -> bool

Source§

impl PartialEq<u8> for &str

Source§

fn op_eq(&self, other: &u8) -> bool

Source§

impl PartialEq<u8> for &u8

Source§

fn op_eq(&self, rhs: &u8) -> bool

Source§

impl PartialEq<u8> for Value

Source§

fn op_eq(&self, other: &u8) -> bool

Source§

impl PartialEq<u16> for &str

Source§

fn op_eq(&self, other: &u16) -> bool

Source§

impl PartialEq<u16> for &u16

Source§

fn op_eq(&self, rhs: &u16) -> bool

Source§

impl PartialEq<u16> for Value

Source§

fn op_eq(&self, other: &u16) -> bool

Source§

impl PartialEq<u32> for &str

Source§

fn op_eq(&self, other: &u32) -> bool

Source§

impl PartialEq<u32> for &u32

Source§

fn op_eq(&self, rhs: &u32) -> bool

Source§

impl PartialEq<u32> for Value

Source§

fn op_eq(&self, other: &u32) -> bool

Source§

impl PartialEq<u64> for &str

Source§

fn op_eq(&self, other: &u64) -> bool

Source§

impl PartialEq<u64> for &u64

Source§

fn op_eq(&self, rhs: &u64) -> bool

Source§

impl PartialEq<u64> for Value

Source§

fn op_eq(&self, other: &u64) -> bool

Source§

impl PartialEq<String> for &String

Source§

fn op_eq(&self, rhs: &String) -> bool

Source§

impl PartialEq<String> for Value

Source§

fn op_eq(&self, other: &String) -> bool

Source§

impl<'a> PartialEq<&'a str> for Value

Source§

fn op_eq(&self, other: &&str) -> bool

Source§

impl<'a> PartialEq<Value> for &'a str

Source§

fn op_eq(&self, other: &Value) -> bool

Source§

impl<'a> PartialEq<bool> for &'a &str

Source§

fn op_eq(&self, other: &bool) -> bool

Source§

impl<'a> PartialEq<bool> for &'a Value

Source§

fn op_eq(&self, other: &bool) -> bool

Source§

impl<'a> PartialEq<f32> for &'a &str

Source§

fn op_eq(&self, other: &f32) -> bool

Source§

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

Source§

fn op_eq(&self, other: &f32) -> bool

Source§

impl<'a> PartialEq<f64> for &'a &str

Source§

fn op_eq(&self, other: &f64) -> bool

Source§

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

Source§

fn op_eq(&self, other: &f64) -> bool

Source§

impl<'a> PartialEq<i8> for &'a &str

Source§

fn op_eq(&self, other: &i8) -> bool

Source§

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

Source§

fn op_eq(&self, other: &i8) -> bool

Source§

impl<'a> PartialEq<i16> for &'a &str

Source§

fn op_eq(&self, other: &i16) -> bool

Source§

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

Source§

fn op_eq(&self, other: &i16) -> bool

Source§

impl<'a> PartialEq<i32> for &'a &str

Source§

fn op_eq(&self, other: &i32) -> bool

Source§

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

Source§

fn op_eq(&self, other: &i32) -> bool

Source§

impl<'a> PartialEq<i64> for &'a &str

Source§

fn op_eq(&self, other: &i64) -> bool

Source§

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

Source§

fn op_eq(&self, other: &i64) -> bool

Source§

impl<'a> PartialEq<isize> for &'a &str

Source§

fn op_eq(&self, other: &isize) -> bool

Source§

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

Source§

fn op_eq(&self, other: &isize) -> bool

Source§

impl<'a> PartialEq<u8> for &'a &str

Source§

fn op_eq(&self, other: &u8) -> bool

Source§

impl<'a> PartialEq<u8> for &'a Value

Source§

fn op_eq(&self, other: &u8) -> bool

Source§

impl<'a> PartialEq<u16> for &'a &str

Source§

fn op_eq(&self, other: &u16) -> bool

Source§

impl<'a> PartialEq<u16> for &'a Value

Source§

fn op_eq(&self, other: &u16) -> bool

Source§

impl<'a> PartialEq<u32> for &'a &str

Source§

fn op_eq(&self, other: &u32) -> bool

Source§

impl<'a> PartialEq<u32> for &'a Value

Source§

fn op_eq(&self, other: &u32) -> bool

Source§

impl<'a> PartialEq<u64> for &'a &str

Source§

fn op_eq(&self, other: &u64) -> bool

Source§

impl<'a> PartialEq<u64> for &'a Value

Source§

fn op_eq(&self, other: &u64) -> bool

Implementors§