pub trait Clear {
    fn is_clear(&self) -> bool;
    fn clear() -> Self;
}
Expand description

The equivalent of Zero for hashes.

A hash that consists only of 0 bits is clear.

Required Methods

Returns true if the hash is clear.

Returns a clear hash.

Implementations on Foreign Types

Implementors