Enum simple_pixels::InputState
source · #[repr(u8)]pub enum InputState {
Pressed,
Down,
Released,
}Variants§
Trait Implementations§
source§impl Clone for InputState
impl Clone for InputState
source§fn clone(&self) -> InputState
fn clone(&self) -> InputState
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 InputState
impl Debug for InputState
source§impl PartialEq<InputState> for InputState
impl PartialEq<InputState> for InputState
source§fn eq(&self, other: &InputState) -> bool
fn eq(&self, other: &InputState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for InputState
impl Eq for InputState
impl StructuralEq for InputState
impl StructuralPartialEq for InputState
Auto Trait Implementations§
impl RefUnwindSafe for InputState
impl Send for InputState
impl Sync for InputState
impl Unpin for InputState
impl UnwindSafe for InputState
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