[−][src]Function glsp::tab_from_iter
pub fn tab_from_iter<T, K, V>(iter: T) -> Result<Root<Tab>, GError> where
T: IntoIterator<Item = (K, V)>,
V: IntoVal,
K: 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.