Skip to main content

array_out

Function array_out 

Source
pub fn array_out<T>(
    array: &Array<T>,
    delim: u8,
    out: &mut Vec<u8>,
    element: impl FnMut(&T, &mut Vec<u8>),
)
Expand description

The text output of an array. element is the output function of the element type. The function quotes an element that is empty, that is NULL in any case, or that has a quote, a backslash, a brace, the delimiter or white space.