pub trait PureFn<Args>:
Send
+ Sync
+ 'static {
const ARITY: usize;
}Expand description
A Rust closure that can be given to ScriptBuilder::pure: up to six
arguments that Deserialize, and a result that Serializes.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".