Skip to main content

UnorderedPartialEq

Trait UnorderedPartialEq 

Source
pub trait UnorderedPartialEq {
    // Required method
    fn unordered_eq(&self, other: &Self) -> bool;
}
Expand description

Equality that ignores the order of object entries.

Required Methods§

Source

fn unordered_eq(&self, other: &Self) -> bool

Checks if self and other are equal modulo object entry order.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UnorderedPartialEq for Vec<T>

Source§

fn unordered_eq(&self, other: &Vec<T>) -> bool

Implementors§