[−][src]Trait solid_core::encode::Encode
Declares a type to be encodable as a Solidity type
Required methods
fn encode(&self) -> Vec<u8>
fn required_len(&self) -> u64
The number of bytes required to encode the current type.
This can be a static or dynamic value based on the type. The value should be 32 bytes aligned, and does not include the 32 bytes required for the offset.
fn is_dynamic() -> bool
Implementations on Foreign Types
impl Encode for bool
[src]
impl<'_, T> Encode for &'_ T where
T: Encode,
[src]
T: Encode,
impl<T> Encode for Vec<T> where
T: Encode,
[src]
T: Encode,
impl<'a, T> Encode for &'a [T] where
T: Encode,
[src]
T: Encode,