Trait vector_common::event_data_eq::EventDataEq

source ·
pub trait EventDataEq<Rhs: ?Sized = Self> {
    // Required method
    fn event_data_eq(&self, other: &Rhs) -> bool;
}
Expand description

A related trait to PartialEq, EventDataEq tests if two events contain the same data, exclusive of the metadata. This is used to test for events having the same values but potentially different parts of the metadata that not fixed between runs, without removing the ability to compare them for exact equality.

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<R: EventDataEq, E: EventDataEq> EventDataEq for Result<R, E>

source§

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

source§

impl<T: EventDataEq> EventDataEq for &[T]

source§

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

source§

impl<T: EventDataEq> EventDataEq for Option<T>

source§

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

source§

impl<T: EventDataEq> EventDataEq for Vec<T>

source§

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

Implementors§