Trait evm_coder::sealed::CanBePlacedInVec
source · pub trait CanBePlacedInVec { }
Expand description
Not every type should be directly placed in vec.
Vec encoding is not memory efficient, as every item will be padded
to 32 bytes.
Instead you should use specialized types (bytes
in case of Vec<u8>
)