Skip to main content

encode_ref

Function encode_ref 

Source
pub fn encode_ref<W: Write>(
    value: ValueRef<'_>,
    enc: &HoleEncoding,
    out: &mut W,
)
Expand description

Encode a borrowed view of a value (SRD 115 §6.1): the compiled closure calls this on its slot without owning a Value, and a string hole is encoded from its producer’s scratch in place.