[][src]Function glsp_engine::tab_from_iter

pub fn tab_from_iter<T, K, V>(iter: T) -> GResult<Root<Tab>> where
    T: IntoIterator<Item = (K, V)>,
    K: IntoVal,
    V: IntoVal

Constructs a table from the key/value pairs in a Rust iterator.

Duplicate keys are permitted.

Returns an Err if type conversion fails for any key or value.