Module gsdk::gp

source ·
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 where T 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 mirrors scale-encode’s EncodeAsType.
  • 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 and parity_scale_codec::EncodeLike for struct and enum.