Struct backroll::GameInput [−][src]
pub struct GameInput<T> {
pub frame: i32,
// some fields omitted
}Expand description
A container of inputs for all of the players for single frame of a game.
Fields
frame: i32The frame number the inputs correspond to.
Implementations
Gets the input for a specific player. Returns InvalidPlayer if the provided player handle does not correspond to a valid player.
Checks if a given player is currently disconnected. Returns InvalidPlayer if the provided player handle does not correspond to a valid player.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for GameInput<T> where
T: RefUnwindSafe, impl<T> UnwindSafe for GameInput<T> where
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V