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§
sourcefn check_equal(&self, other: &Self)
fn check_equal(&self, other: &Self)
Perform the equality check.
Object Safety§
This trait is not object safe.