pub enum TestInput {
Held {
pos: Pos2,
},
Click {
pos: Pos2,
},
MouseMove {
pos: Pos2,
},
Drag {
start: Pos2,
delta: Vec2,
},
}Expand description
User input you can synthesize for your application
Variants§
Auto Trait Implementations§
impl Freeze for TestInput
impl RefUnwindSafe for TestInput
impl Send for TestInput
impl Sync for TestInput
impl Unpin for TestInput
impl UnwindSafe for TestInput
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