Expand description
generated code preludes.
Traits§
- Trait that allows zero-copy read of value-references from slices in LE format.
- This trait is implemented for any type
T
whereT
implements [IntoVisitor
] and the errors returned from this [Visitor
] can be converted into [Error
]. It’s essentially a convenience wrapper around [visitor::decode_with_visitor
] that mirrorsscale-encode
’sEncodeAsType
. - Trait that allows zero-copy write of value-references to slices in LE format.
Derive Macros§
- Derive
parity_scale_codec::Decode
and for struct and enum. - Derive
parity_scale_codec::Encode
andparity_scale_codec::EncodeLike
for struct and enum.