Struct ggrs::GameState [−][src]
Expand description
Represents a serialized game state of your game for a single frame. The buffer buffer holds your state, frame indicates the associated frame number
and checksum can additionally be provided for use during a SyncTestSession. You are expected to return this during save_game_state() and use them during load_game_state().
Fields
frame: FrameThe frame to which this info belongs to.
buffer: Option<Vec<u8>>The serialized gamestate in bytes.
checksum: usizeThe checksum of the gamestate.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GameStateimpl UnwindSafe for GameStateBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V