pulse-binding-rust
pulse-binding-rust copied to clipboard
Make "single-use" callbacks `FnOnce`
This is more general than FnMut
, which is useful in some cases.
https://github.com/jnqnfe/pulse-binding-rust/issues/50
It's hard to be sure that this covers everything (and the consistency of types can't be checked by the compiler everywhere due to pointer casts...), but this should be an improvement.