pub fn try_push_effect(
effects: &mut [Option<BuffEffect>; 16],
effect: BuffEffect,
) -> Result<(), BuffEffectsFull>Expand description
Push effect into the first empty slot of a fixed aura-effect array, erroring when full.
ยงErrors
Returns BuffEffectsFull when all effect slots are occupied.