Trait gear_core::memory::GrowHandler
source · pub trait GrowHandler {
// Required methods
fn before_grow_action(mem: &mut impl Memory) -> Self;
fn after_grow_action(self, mem: &mut impl Memory);
}
Expand description
Before and after memory grow actions.
Required Methods§
sourcefn before_grow_action(mem: &mut impl Memory) -> Self
fn before_grow_action(mem: &mut impl Memory) -> Self
Before grow action
sourcefn after_grow_action(self, mem: &mut impl Memory)
fn after_grow_action(self, mem: &mut impl Memory)
After grow action
Object Safety§
This trait is not object safe.