replace_root_fields

Function replace_root_fields 

Source
pub fn replace_root_fields(
    expr: Expression,
    fields: &StructFields,
) -> Expression
Expand description

Expand the root expression with a pack of the given struct fields.