[][src]Trait sp_runtime::traits::CheckEqual

pub trait CheckEqual {
    pub fn check_equal(&self, other: &Self);
}

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

Required methods

pub fn check_equal(&self, other: &Self)[src]

Perform the equality check.

Loading content...

Implementors

impl CheckEqual for H256[src]

impl<H: PartialEq + Eq + Debug> CheckEqual for DigestItem<H> where
    H: Encode
[src]

Loading content...