Skip to main content

elems_with_host

Function elems_with_host 

Source
pub fn elems_with_host(h: &JsHost, v: &Value) -> Vec<Value>
Expand description

The elements of a typed-array view, decoded with a host borrow ALREADY held. host reads views from inside &self methods (inspect, key enumeration, iteration) where re-entering through with_host would panic on the outstanding borrow.