pub fn emit_hl_marshal_value(
s: &mut State<'_, '_>,
id: Ident,
vt: &Value<'_>,
) -> TokenStream
Expand description
Emit code to marshal a value from an inline-able value type
id
: an ident of a Rust value of the Rust type (as defined by thecrate::rtypes
module) of the given value type that is being marshaled fromvt
: the value type that we are marshaling
The token stream produced will be an expression which typechecks
as Vec<u8>
.