pub trait Parameterize {
// Required method
fn param_type() -> ParamType;
}
Expand description
abigen
requires Parameterized
to construct nested types. It is also used by try_from_bytes
to facilitate the instantiation of custom types from bytes.
Required Methods§
fn param_type() -> ParamType
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.