[−][src]Trait parity_scale_codec::CompactAs
Allow foreign structs to be wrap in Compact
Associated Types
Loading content...Required methods
fn encode_as(&self) -> &Self::As
[src]
Returns the compact-encodable type.
fn decode_from(_: Self::As) -> Result<Self, Error>
[src]
Decode Self
from the compact-decoded type.