Function sval_flatten::flatten_to_tuple
source · pub fn flatten_to_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 tuple.
The offset
is the current length of the tuple. A new offset will be returned
with the length of the tuple after flattening the value.