Trait fuels_core::Parameterize
source · [−]pub trait Parameterize {
fn param_types() -> Vec<ParamType>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
}
Expand description
This trait is used inside the abigen generated code in order to get the
parameter types (ParamType
). This is used in the generated code in
custom_types_gen.rs
, with the exception of the Sway-native types
Address
, ContractId
, and AssetId
, that are implemented right here,
without code generation.