zerovec
0.10.4
Module encode
Traits
Functions
In zerovec::
ule
Module
zerovec
::
ule
::
encode
Copy item path
source
·
[
−
]
Traits
§
Encode
AsVarULE
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>