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
sourceimpl Clone for InputStatus
impl Clone for InputStatus
sourcefn clone(&self) -> InputStatus
fn clone(&self) -> InputStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InputStatus
impl Debug for InputStatus
sourceimpl PartialEq<InputStatus> for InputStatus
impl PartialEq<InputStatus> for InputStatus
impl Copy for InputStatus
impl Eq for InputStatus
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more