Module encode
zerovec
0.10.4
Module encode
Module Items
Traits
Functions
In zerovec::
ule
Modules
chars
custom
encode
macros
multi
niche
option
plain
slices
tuple
unvalidated
Structs
CharULE
MultiFieldsULE
NichedOption
OptionULE
OptionVarULE
RawBytesULE
UnvalidatedChar
UnvalidatedStr
Traits
AsULE
EncodeAsVarULE
EqULE
NicheBytes
SliceAsULE
ULE
VarULE
Functions
encode_varule_to_box
Unions
NichedOptionULE
Derive Macros
ULE
VarULE
zerovec
::
ule
Module
encode
Copy item path
Settings
Help
Summary
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>