pub trait Config: 'static {
    type Input: Copy + Clone + PartialEq + Pod + Zeroable;
    type State: Clone;
    type Address: Clone + PartialEq + Eq + Hash;
}
Expand description

Compile time parameterization for sessions.

Associated Types

The input type for a session. This is the only game-related data transmitted over the network.

Reminder: Types implementing Pod may not have the same byte representation on platforms with different endianness. GGRS assumes that all players are running with the same endianness when encoding and decoding inputs.

The save state type for the session.

The address type which identifies the remote clients

Implementors