#[function]
Available on crate feature
macro
only.Expand description
A attribute for implementing IntoJsFunc
for a certain function.
Using this attribute allows a wider range of functions to be used as callbacks from JavaScript then when you use closures or the functions for which the proper traits are already implemented..