Type Alias ItemPowerFn

Source
pub type ItemPowerFn = fn(&ItemPowerCtx<'_>) -> Result<i64>;
Expand description

Signature of an item_power native fn. Free fn (no captured state) so it is Copy and trivially stored in the registry; runtime context arrives via ItemPowerCtx.