Trait Value

Source
pub trait Value {
    // Required methods
    fn to_h256(&self) -> H256;
    fn zero() -> Self;
}
Expand description

Trait for define value structures

Required Methods§

Source

fn to_h256(&self) -> H256

Source

fn zero() -> Self

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§