[−][src]Trait parity_scale_codec::CompactAs
Allow foreign structs to be wrap in Compact
Associated Types
type As
A compact-encodable type that should be used as the encoding.
Required methods
fn encode_as(&self) -> &Self::As
Returns the encodable type.
fn decode_from(_: Self::As) -> Self
Create Self
from the decodable type.