pub fn wrap(t: Box<T>) -> Closure<T> {
        Closure {
            inner: UnsafeCell::new(t),
            js: UnsafeCell::new(ManuallyDrop::new(JsValue { idx: !0 })),
        }
    }
/// A mostly internal function to wrap a boxed closure inside a `Closure`
/// type.
///
/// This is the function where the JS closure is manufactured.
A mostly internal function to wrap a boxed closure inside a `Closure`
type.

This is the function where the JS closure is manufactured.
A mostly internal function to wrap a boxed closure inside a ` Closure ` type . This is the function where the JS closure is manufactured .
pub fn wrap(t: Box<T>) -> Closure<T> {
        Closure {
            inner: UnsafeCell::new(t),
            js: UnsafeCell::new(ManuallyDrop::new(JsValue { idx: !0 })),
        }
    }
pub fn wrap ( t : Box < T > ) -> Closure < T > { Closure { inner : UnsafeCell :: new ( t ) , js : UnsafeCell :: new ( ManuallyDrop :: new ( JsValue { idx : ! 0 } ) ) , } }
A mostly internal function to wrap a boxed closure inside a `Closure`
type.
A mostly internal function to wrap a boxed closure inside a ` Closure ` type .
t
Box<T>
t
Box<T>