Trait JsHostFnMut
pub trait JsHostFnMut<T, A>:
Send
+ Sync
+ 'static { }Available on crate features
js and std only.Expand description
A mutable method with typed, extractor-style arguments.
This trait is implemented for closures whose first argument is &mut T.
The remaining arguments are extracted from the JavaScript call.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".