Function expry::merge_objects_to_scope
source · pub fn merge_objects_to_scope<'b, 'c>(
lhs: EncodedValueRef<'_>,
rhs: EncodedValueRef<'_>,
allocator: &mut MemoryScope<'c>
) -> Result<EncodedValueRef<'b>, EncodingError>where
'c: 'b,
Expand description
Merges two encoded objects. Left hand side take preference (so the left hand side value of keys occuring in both is taken).