Trait ink_primitives::Clear
source · pub trait Clear {
const CLEAR_HASH: Self;
// Required method
fn is_clear(&self) -> bool;
}
Expand description
The equivalent of Zero
for hashes.
A hash that consists only of 0 bits is clear.
Required Associated Constants§
sourceconst CLEAR_HASH: Self
const CLEAR_HASH: Self
The clear hash.
Required Methods§
Object Safety§
This trait is not object safe.