// ---------- game command implementations ----------
-type ExecuteGameInsnResultsPrepub = Box<
- dyn for<'r> FnOnce(&'r mut PrepareUpdatesBuffer)
- >;
+
type ExecuteGameInsnResults<'igr, 'ig> = (
ExecuteGameChangeUpdates,
MgmtGameResponse,
- Option<ExecuteGameInsnResultsPrepub>, // These happena after everything else
+ Option<UnpreparedUpdates>, // These happena after everything else
&'igr mut InstanceGuard<'ig>,
);
Some(
Box::new(move |prepub: &mut PrepareUpdatesBuffer|
prepub.piece_updates(xupdates))
- as ExecuteGameInsnResultsPrepub
+ as UnpreparedUpdates
),
ig_g)
},
#[serde(transparent)]
pub struct ClientSequence(RawClientSequence);
+pub type UnpreparedUpdates = Box<
+ dyn for<'r> FnOnce(&'r mut PrepareUpdatesBuffer)
+ >;
+
// ---------- from manamgenet operations ----------
#[derive(Debug)] // not Default