Skip to main content

IntoU256

Trait IntoU256 

Source
pub trait IntoU256 {
    // Required method
    fn into_u256(self) -> U256;
}
Expand description

Trait for converting types into U256 values.

Required Methods§

Source

fn into_u256(self) -> U256

Converts the implementing type into a U256 value.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoU256 for Address

Source§

fn into_u256(self) -> U256

Source§

impl IntoU256 for B256

Source§

fn into_u256(self) -> U256

Implementors§