Function emit_hl_unmarshal_param

Source
pub fn emit_hl_unmarshal_param(
    s: &mut State<'_, '_>,
    id: Ident,
    pt: &Value<'_>,
) -> TokenStream
Expand description

Emit code to unmarshal a parameter with value type pt from a slice named by id. The resultant token stream will be an expression which typechecks at the Rust type (as defined by the crate::rtypes module) of the given value type.