EqualUnderlyingData

Trait EqualUnderlyingData 

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

Compare two structures by the data they ultimately represent, not necessarily by their concrete variants.

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EqualUnderlyingData for &BTreeMap<String, Value>

Source§

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

Source§

impl EqualUnderlyingData for BTreeMap<&String, &Value>

Source§

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

Source§

impl EqualUnderlyingData for BTreeMap<&String, Value>

Source§

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

Source§

impl EqualUnderlyingData for BTreeMap<String, &Value>

Source§

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

Source§

impl EqualUnderlyingData for BTreeMap<String, Value>

Source§

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

Implementors§