pub fn emit_hl_marshal_param(
s: &mut State<'_, '_>,
id: Ident,
pt: &Value<'_>,
) -> TokenStream
Expand description
Emit code to marshal a parameter with value type pt
from a
Rust value named by id
. The resultant token stream will be an
expression which typechecks as Vec<u8>
.