Enum simple_pixels::InputState
source · [−]#[repr(u8)]
pub enum InputState {
Pressed,
Down,
Released,
}Variants
Pressed
Down
Released
Trait Implementations
sourceimpl Clone for InputState
impl Clone for InputState
sourcefn clone(&self) -> InputState
fn clone(&self) -> InputState
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InputState
impl Debug for InputState
sourceimpl PartialEq<InputState> for InputState
impl PartialEq<InputState> for InputState
sourcefn eq(&self, other: &InputState) -> bool
fn eq(&self, other: &InputState) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more