Function expry::merge_objects
source · [−]pub fn merge_objects<'b, 'c>(
lhs: ValueRef<'_>,
rhs: ValueRef<'_>,
allocator: &mut MemoryScope<'c>
) -> Result<ValueRef<'b>, EncodingError> where
'c: 'b,
Expand description
Merges two objects. Left hand side take preference (so the left hand side value of keys occuring in both is taken). Always producing a compact object