pub trait New: Manager {
// Provided methods
fn new_js_array(
self,
i: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = Any<Self::Dealloc>>>
) -> Any<Self::Dealloc> { ... }
fn new_js_string(
self,
s: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = u16>>
) -> Any<Self::Dealloc> { ... }
fn new_js_object(
self,
i: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = (JsStringRef<Self::Dealloc>, Any<Self::Dealloc>)>>
) -> Any<Self::Dealloc> { ... }
}
Provided Methods§
fn new_js_array( self, i: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = Any<Self::Dealloc>>> ) -> Any<Self::Dealloc>
fn new_js_string( self, s: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = u16>> ) -> Any<Self::Dealloc>
fn new_js_object( self, i: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = (JsStringRef<Self::Dealloc>, Any<Self::Dealloc>)>> ) -> Any<Self::Dealloc>
Object Safety§
This trait is not object safe.