Skip to main content

push_to_struct_field

Function push_to_struct_field 

Source
pub fn push_to_struct_field(
    obj: &RuntimeValue,
    field_name: &str,
    val: RuntimeValue,
) -> Result<(), String>
Expand description

Push value to obj's field — pushes into a struct’s List field through the shared allocation. Every error string is the spec.