Struct pixel_engine::inputs::Input
source · Expand description
A Simple Struct that Represent an Input
Fields
pressed: bool
Is the input pressed on that frame
held: bool
Is the input held on that frame
released: bool
Is the input released on that frame
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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