Module encode

Module encode 

Source

Traits§

EncodeAsVarULE
Allows types to be encoded as VarULEs. This is highly useful for implementing VarULE on custom DSTs where the type cannot be obtained as a reference to some other type.

Functions§

encode_varule_to_box
Given an EncodeAsVarULE type S, encode it into a Box<T>