Function sval_flatten::flatten_to_record_tuple
source · pub fn flatten_to_record_tuple<'sval>(
stream: &mut (impl Stream<'sval> + ?Sized),
value: &'sval (impl Value + ?Sized),
offset: isize
) -> Result<isize>
Expand description
Flatten the fields of a value onto a record or tuple.
The offset
is the current length of the record or tuple. A new offset will be returned
with the length of the record or tuple after flattening the value.