[−][src]Function glsp::arr_from_iter
pub fn arr_from_iter<T>(iter: T) -> Result<Root<Arr>, GError> where
T: IntoIterator,
<T as IntoIterator>::Item: IntoVal,
Constructs an array from the contents of a Rust iterator.
Returns an Err
if type conversion fails for any element.