Skip to main content

shape_value_with_encoding

Function shape_value_with_encoding 

Source
pub fn shape_value_with_encoding(
    symbol: Symbol,
    shape: Arc<dyn Shape>,
    encoding: ObjectEncoding,
) -> Value
Expand description

Like shape_value but also records the constructor encoding so the resulting value can be re-encoded back to its constructor expression.