Skip to main content

sequence

Function sequence 

Source
pub fn sequence<T, V>(
    f: impl Fn(T) -> V,
    items: impl IntoIterator<Item = T>,
) -> Value
where V: Into<Value>,
Expand description

Uses the given encoder to encode a sequence of values.