pub trait EffectFn<Args>:
Send
+ Sync
+ 'static {
const ARITY: usize;
}Expand description
A Rust closure that can be given to ScriptBuilder::effect: as
PureFn, returning Result<R, E> where E explains the failure.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".