ParamTypeExt

Trait ParamTypeExt 

Source
pub trait ParamTypeExt {
    // Provided method
    fn from_str(s: &str) -> Result<ParamType, ParseParamTypeError> { ... }
}
Expand description

An extension trait for Solidity parameter types.

Provided Methods§

Source

fn from_str(s: &str) -> Result<ParamType, ParseParamTypeError>

Parses a parameter type from a string value.

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.

Implementations on Foreign Types§

Source§

impl ParamTypeExt for ParamType

Implementors§