Skip to main content

encode_array

Function encode_array 

Source
pub fn encode_array<T, const N: usize, F>(arr: [T; N], f: F) -> RuntimeValue
where F: FnMut(T) -> RuntimeValue,
Expand description

Encode a fixed-size array into a RuntimeValue::Array.