Skip to main content

IntoAddress

Trait IntoAddress 

Source
pub trait IntoAddress {
    // Required method
    fn into_address(self) -> Address;
}
Expand description

Trait for converting types into Address values.

Required Methods§

Source

fn into_address(self) -> Address

Converts the implementing type into an Address 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 IntoAddress for U256

Source§

fn into_address(self) -> Address

Implementors§