pub trait AbiType {
const SIGNATURE: SignatureUnit;
// Required methods
fn is_dynamic() -> bool;
fn size() -> usize;
// Provided method
fn as_str() -> &'static str { ... }
}
Expand description
Helper for type.
Required Associated Constants§
sourceconst SIGNATURE: SignatureUnit
const SIGNATURE: SignatureUnit
Signature for Ethereum ABI.
Required Methods§
sourcefn is_dynamic() -> bool
fn is_dynamic() -> bool
Is type dynamic sized.
sourcefn size() -> usize
fn size() -> usize
Size for type aligned to ABI_ALIGNMENT
.