Enum ggrs::InputStatus
source · pub enum InputStatus {
Confirmed,
Predicted,
Disconnected,
}
Expand description
InputStatus
will always be given together with player inputs when requested to advance the frame.
Variants§
Confirmed
The input of this player for this frame is an actual received input.
Predicted
The input of this player for this frame is predicted.
Disconnected
The player has disconnected at or prior to this frame, so this input is a dummy.
Trait Implementations§
source§impl Clone for InputStatus
impl Clone for InputStatus
source§fn clone(&self) -> InputStatus
fn clone(&self) -> InputStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputStatus
impl Debug for InputStatus
source§impl PartialEq for InputStatus
impl PartialEq for InputStatus
source§fn eq(&self, other: &InputStatus) -> bool
fn eq(&self, other: &InputStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InputStatus
impl Eq for InputStatus
impl StructuralPartialEq for InputStatus
Auto Trait Implementations§
impl RefUnwindSafe for InputStatus
impl Send for InputStatus
impl Sync for InputStatus
impl Unpin for InputStatus
impl UnwindSafe for InputStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more