Trait CheckEqual

Source
pub trait CheckEqual {
    // Required method
    fn check_equal(&self, other: &Self);
}
Expand description

Something that can be checked for equality and printed out to a debug channel if bad.

Required Methods§

Source

fn check_equal(&self, other: &Self)

Perform the equality check.

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.

Implementors§