Skip to main content

decode_array

Function decode_array 

Source
pub fn decode_array<T, const N: usize, F>(
    value: RuntimeValue,
    f: F,
) -> Result<[T; N], ValueProjectionError>
Expand description

Decode a RuntimeValue::Array of exact length N into [T; N].