pub fn closure_args<F>(f: F) -> Closure
where
    F: Fn(Args) -> Result<JValue, JValue> + Send + Sync + 'static,
{
    Arc::new(move |args| into_record(f(args)))
}
/// Converts Fn into Closure, converting error into Option<IValue>
Converts Fn into Closure, converting error into Option
Converts Fn into Closure converting error into Option
pub fn closure_args<F>(f: F) -> Closure
where
    F: Fn(Args) -> Result<JValue, JValue> + Send + Sync + 'static,
{
    Arc::new(move |args| into_record(f(args)))
}
pub fn closure_args < F > ( f : F ) -> Closure where F : Fn ( Args ) -> Result < JValue , JValue > + Send + Sync + ' static , { Arc :: new ( move | args | into_record ( f ( args ) ) ) }
Converts Fn into Closure, converting error into Option<IValue>
Converts Fn into Closure converting error into Option<IValue >
f
F